pidgin: b0203e5c: HAVE_CONFIG_H is not defined when buildi...

nosnilmot at pidgin.im nosnilmot at pidgin.im
Thu Jul 9 23:15:21 EDT 2009


-----------------------------------------------------------------
Revision: b0203e5c616e9908ea5b982d34dd21789e363e41
Ancestor: a45b1070fc4a3701feaffd21840171e4e29a6f5a
Author: nosnilmot at pidgin.im
Date: 2009-07-10T03:14:31
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/b0203e5c616e9908ea5b982d34dd21789e363e41

Modified files:
        libpurple/internal.h

ChangeLog: 

HAVE_CONFIG_H is not defined when building the perl plugin, so work around
that

-------------- next part --------------
============================================================
--- libpurple/internal.h	ea15491800a06de23ed507ea0768abf6b6567f65
+++ libpurple/internal.h	6138eb29830bac36f5004cfdad2069036b0b7c1f
@@ -230,6 +230,7 @@
 #	endif
 #endif
 
+#ifdef HAVE_CONFIG_H
 #if SIZEOF_TIME_T == 4
 #	define PURPLE_TIME_T_MODIFIER "lu"
 #elif SIZEOF_TIME_T == 8
@@ -237,6 +238,7 @@
 #else
 #error Unknown size of time_t
 #endif
+#endif
 
 #include <glib-object.h>
 


More information about the Commits mailing list