]> git.ozlabs.org Git - ccan/commitdiff
tdb: fix backwards check on HAVE_PAGESIZE
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 4 May 2010 07:36:40 +0000 (17:06 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 4 May 2010 07:36:40 +0000 (17:06 +0930)
ccan/tdb/tdb_private.h

index 1195c3b557ac65ede35e30caf417516f5c2a3c0e..228e8dcf9b09eaedf64fd166b8a683deb50070a0 100644 (file)
@@ -64,7 +64,7 @@
 #define __location__ __FILE__ ":" __STRINGSTRING(__LINE__)
 #endif
 
 #define __location__ __FILE__ ":" __STRINGSTRING(__LINE__)
 #endif
 
-#if HAVE_GETPAGESIZE
+#if !HAVE_GETPAGESIZE
 #define getpagesize() 0x2000
 #endif
 
 #define getpagesize() 0x2000
 #endif