X-Git-Url: http://wpitchoune.net/gitweb/?p=psensor-pkg-debian.git;a=blobdiff_plain;f=src%2Flib%2Fbool.h;h=c2ad205621639fe3a3c1a9f98dbe620cee63c27d;hp=900edc120d1b4404940747377958fa263c2d4d97;hb=3361fda8735c65887a859c9faf287cb105ae6bc8;hpb=1438bc505641cd98fe3af323fb2329c3284e157f diff --git a/src/lib/bool.h b/src/lib/bool.h index 900edc1..c2ad205 100644 --- a/src/lib/bool.h +++ b/src/lib/bool.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2013 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