]> granicus.if.org Git - icinga2/commitdiff
Fix incorrect #ifdef
authorGunnar Beutner <gunnar@beutner.name>
Tue, 28 Oct 2014 07:12:54 +0000 (08:12 +0100)
committerGunnar Beutner <gunnar@beutner.name>
Tue, 28 Oct 2014 07:12:54 +0000 (08:12 +0100)
refs #7454

lib/base/json.cpp

index 03dd61789d4be2864b89604edfa4d22cfa663d7c..a98949e82c4da7787138822265c467952b54e48f 100644 (file)
@@ -34,7 +34,7 @@ using namespace icinga;
 
 static void Encode(yajl_gen handle, const Value& value);
 
-#ifdef YAJL_MAJOR < 2
+#if YAJL_MAJOR < 2
 typedef unsigned int yajl_size;
 #else /* YAJL_MAJOR */
 typedef size_t yajl_size;