plugins: fishlim: VS2013 comes with a working stdbool.h

This commit is contained in:
Arnavion 2013-09-15 15:08:10 -07:00
parent b658fca4a7
commit 648de4410c
4 changed files with 0 additions and 17 deletions

View File

@ -1,5 +0,0 @@
/* stdbool.h replacement for MSVC */
#define false 0
#define true 1
#define bool _Bool
typedef int _Bool;

View File

@ -25,11 +25,7 @@
#ifndef FISH_H #ifndef FISH_H
#define FISH_H #define FISH_H
#ifdef _MSC_VER
#include "bool.h"
#else
#include <stdbool.h> #include <stdbool.h>
#endif
#include <stddef.h> #include <stddef.h>
char *fish_encrypt(const char *key, size_t keylen, const char *message); char *fish_encrypt(const char *key, size_t keylen, const char *message);

View File

@ -25,11 +25,7 @@
#ifndef IRC_H #ifndef IRC_H
#define IRC_H #define IRC_H
#ifdef _MSC_VER
#include "bool.h"
#else
#include <stdbool.h> #include <stdbool.h>
#endif
#include <stddef.h> #include <stddef.h>
bool irc_parse_message(const char *words[], bool irc_parse_message(const char *words[],

View File

@ -25,11 +25,7 @@
#ifndef KEYSTORE_H #ifndef KEYSTORE_H
#define KEYSTORE_H #define KEYSTORE_H
#ifdef _MSC_VER
#include "bool.h"
#else
#include <stdbool.h> #include <stdbool.h>
#endif
#include <stddef.h> #include <stddef.h>
char *keystore_get_key(const char *nick); char *keystore_get_key(const char *nick);