plugins: fishlim: VS2013 comes with a working stdbool.h
This commit is contained in:
parent
b658fca4a7
commit
648de4410c
|
@ -1,5 +0,0 @@
|
|||
/* stdbool.h replacement for MSVC */
|
||||
#define false 0
|
||||
#define true 1
|
||||
#define bool _Bool
|
||||
typedef int _Bool;
|
|
@ -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);
|
||||
|
|
|
@ -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[],
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue