From 648de4410ceeafdea63b37df43bb7e6d219a5b96 Mon Sep 17 00:00:00 2001 From: Arnavion Date: Sun, 15 Sep 2013 15:08:10 -0700 Subject: [PATCH] plugins: fishlim: VS2013 comes with a working stdbool.h --- plugins/fishlim/bool.h | 5 ----- plugins/fishlim/fish.h | 4 ---- plugins/fishlim/irc.h | 4 ---- plugins/fishlim/keystore.h | 4 ---- 4 files changed, 17 deletions(-) delete mode 100644 plugins/fishlim/bool.h diff --git a/plugins/fishlim/bool.h b/plugins/fishlim/bool.h deleted file mode 100644 index 2c8ddde4..00000000 --- a/plugins/fishlim/bool.h +++ /dev/null @@ -1,5 +0,0 @@ -/* stdbool.h replacement for MSVC */ -#define false 0 -#define true 1 -#define bool _Bool -typedef int _Bool; diff --git a/plugins/fishlim/fish.h b/plugins/fishlim/fish.h index 5a4e85d0..db471326 100644 --- a/plugins/fishlim/fish.h +++ b/plugins/fishlim/fish.h @@ -25,11 +25,7 @@ #ifndef FISH_H #define FISH_H -#ifdef _MSC_VER -#include "bool.h" -#else #include -#endif #include char *fish_encrypt(const char *key, size_t keylen, const char *message); diff --git a/plugins/fishlim/irc.h b/plugins/fishlim/irc.h index 58a58c83..87317130 100644 --- a/plugins/fishlim/irc.h +++ b/plugins/fishlim/irc.h @@ -25,11 +25,7 @@ #ifndef IRC_H #define IRC_H -#ifdef _MSC_VER -#include "bool.h" -#else #include -#endif #include bool irc_parse_message(const char *words[], diff --git a/plugins/fishlim/keystore.h b/plugins/fishlim/keystore.h index edf54992..a2c33f02 100644 --- a/plugins/fishlim/keystore.h +++ b/plugins/fishlim/keystore.h @@ -25,11 +25,7 @@ #ifndef KEYSTORE_H #define KEYSTORE_H -#ifdef _MSC_VER -#include "bool.h" -#else #include -#endif #include char *keystore_get_key(const char *nick);