Browse Source

tdb: fix backwards check on HAVE_PAGESIZE

Rusty Russell 15 years ago
parent
commit
6dbbd0b7fd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ccan/tdb/tdb_private.h

+ 1 - 1
ccan/tdb/tdb_private.h

@@ -64,7 +64,7 @@
 #define __location__ __FILE__ ":" __STRINGSTRING(__LINE__)
 #endif
 
-#if HAVE_GETPAGESIZE
+#if !HAVE_GETPAGESIZE
 #define getpagesize() 0x2000
 #endif