updated dates in the copyright notices
[util-vserver.git] / util-vserver / lib / personalityflag.c
index 2cb6b11..84e19df 100644 (file)
 #define DECL(VAL) { #VAL, sizeof(#VAL)-1, (VAL) }
 
 static struct Mapping_uint32 const VALUES[] = {
+#if HAVE_DECL_MMAP_PAGE_ZERO
   DECL(MMAP_PAGE_ZERO),
+#endif
+
+#if HAVE_DECL_ADDR_LIMIT_32BIT  
   DECL(ADDR_LIMIT_32BIT),
+#endif
+
+#if HAVE_DECL_SHORT_INODE
   DECL(SHORT_INODE),
+#endif
+
+#if HAVE_DECL_WHOLE_SECONDS
   DECL(WHOLE_SECONDS),
+#endif
+
+#if HAVE_DECL_STICKY_TIMEOUTS
   DECL(STICKY_TIMEOUTS),
-  DECL(ADDR_LIMIT_3GB)
+#endif
+
+#if HAVE_DECL_ADDR_LIMIT_3GB
+  DECL(ADDR_LIMIT_3GB),
+#endif
 };
 
 uint_least32_t