http://bugs.freedesktop.org/show_bug.cgi?id=19461

           Summary: Some telepathy-glib windows fixes
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: Windows (All)
            Status: NEW
          Keywords: patch
          Severity: normal
          Priority: medium
         Component: telepathy-glib
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=21802)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=21802)
Patch to fix Windows compilation errros

When compiling on Windows msvc compiler, I had three problems with
telepathy-glib.

1) unistd.h was not available. Attached patch conditionally includes it.
2) msvc compiler does allow void pointer arithmetic. I type casted it to
guint8* for addition because that is what we meant.
3) msvc compiler seems have problems with empty structures. One private member
structure for a class was empty. For lack of better ideas, I removed the
structure.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Telepathy mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/telepathy

Reply via email to