X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=blobdiff_plain;f=src%2Flib%2Fbool.h;h=c2ad205621639fe3a3c1a9f98dbe620cee63c27d;hp=4d5f2c17238b53441ab19d9f9ad477a392e45a60;hb=c1e20f2631a1249720e9c75d753eacfcb0f6c7b9;hpb=9cd75dc72c567208d839e73ee6e4ecf484a08b7c diff --git a/src/lib/bool.h b/src/lib/bool.h index 4d5f2c1..c2ad205 100644 --- a/src/lib/bool.h +++ b/src/lib/bool.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2012 jeanfi@gmail.com + * Copyright (C) 2010-2014 jeanfi@gmail.com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -21,10 +21,12 @@ #include "config.h" -#if HAVE_STDBOOL +#if HAVE_STDBOOL_H #include #else #define bool char +#define true 1 +#define false 0 #endif #endif