changeset 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 60d128c6413a
children 7bdad85c5fed
files libpurple/internal.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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>