diff libpurple/internal.h @ 27525:91b8a957776a

HAVE_CONFIG_H is not defined when building the perl plugin, so work around that
author Stu Tomlinson <stu@nosnilmot.com>
date Fri, 10 Jul 2009 03:14:31 +0000
parents 036d94041e09
children 39716f7d2c93 15cde23b43bc 1e5654e2928d
line wrap: on
line diff
--- a/libpurple/internal.h	Fri Jul 10 02:53:17 2009 +0000
+++ b/libpurple/internal.h	Fri Jul 10 03:14:31 2009 +0000
@@ -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>