summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorArnavion <arnavion@gmail.com>2013-09-15 15:08:10 -0700
committerArnavion <arnavion@gmail.com>2013-09-15 15:08:40 -0700
commit648de4410ceeafdea63b37df43bb7e6d219a5b96 (patch)
treead928424adb6f1f4a8256d34e3cd0cc0222dd61c
parentb658fca4a72c2aca810a8a1f53e4f3b2c924380d (diff)
plugins: fishlim: VS2013 comes with a working stdbool.h
-rw-r--r--plugins/fishlim/bool.h5
-rw-r--r--plugins/fishlim/fish.h4
-rw-r--r--plugins/fishlim/irc.h4
-rw-r--r--plugins/fishlim/keystore.h4
4 files changed, 0 insertions, 17 deletions
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 <stdbool.h>
-#endif
 #include <stddef.h>
 
 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 <stdbool.h>
-#endif
 #include <stddef.h>
 
 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 <stdbool.h>
-#endif
 #include <stddef.h>
 
 char *keystore_get_key(const char *nick);