Browse code

3rd time a charm. tested.

aCaB authored on 2009/07/17 09:52:39
Showing 1 changed files
... ...
@@ -369,6 +369,10 @@ void cli_dbgmsg_internal(const char *str, ...) __attribute__((format(printf, 1,
369 369
 void cli_dbgmsg_internal(const char *str, ...);
370 370
 #endif
371 371
 
372
+#ifdef HAVE_CLI_GETPAGESIZE
373
+#undef HAVE_CLI_GETPAGESIZE
374
+#endif
375
+
372 376
 #if HAVE_SYSCONF_SC_PAGESIZE
373 377
 static inline int cli_getpagesize() { return sysconf(_SC_PAGESIZE); }
374 378
 #define HAVE_CLI_GETPAGESIZE 1
... ...
@@ -377,9 +381,6 @@ static inline int cli_getpagesize() { return sysconf(_SC_PAGESIZE); }
377 377
 static inline int cli_getpagesize() { return getpagesize(); }
378 378
 #define HAVE_CLI_GETPAGESIZE 1
379 379
 #endif
380
-#ifdef HAVE_CLI_GETPAGESIZE
381
-#undef HAVE_CLI_GETPAGESIZE
382
-#endif
383 380
 #endif
384 381
 
385 382
 void *cli_malloc(size_t nmemb);