summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Kanis <lars@greiz-reinsdorf.de>2021-01-10 17:08:14 +0100
committerGitHub <noreply@github.com>2021-01-10 17:08:14 +0100
commit3f862ca78ec4e6c2a5eabca8a5f7780d1774c1a0 (patch)
tree0f773123f8037215323f0150ebdbcb3e7acdd5e2
parenta7fe1701a349959087c30092857c237430c9c663 (diff)
parent4516f6a2f608d081366ad0eefc712f1112253402 (diff)
downloadffi-3f862ca78ec4e6c2a5eabca8a5f7780d1774c1a0.tar.gz
Merge pull request #875 from KoellM/fix-msvc-build
Remove win32/stdbool.h
-rw-r--r--ext/ffi_c/Function.h4
-rw-r--r--ext/ffi_c/MemoryPointer.h4
-rw-r--r--ext/ffi_c/Pointer.h4
3 files changed, 0 insertions, 12 deletions
diff --git a/ext/ffi_c/Function.h b/ext/ffi_c/Function.h
index 052aaf6..406b4d8 100644
--- a/ext/ffi_c/Function.h
+++ b/ext/ffi_c/Function.h
@@ -34,11 +34,7 @@
extern "C" {
#endif
-#ifndef _MSC_VER
# include <stdbool.h>
-#else
-# include "win32/stdbool.h"
-#endif
#include <ffi.h>
diff --git a/ext/ffi_c/MemoryPointer.h b/ext/ffi_c/MemoryPointer.h
index 1257683..8106030 100644
--- a/ext/ffi_c/MemoryPointer.h
+++ b/ext/ffi_c/MemoryPointer.h
@@ -31,11 +31,7 @@
#ifndef RBFFI_MEMORYPOINTER_H
#define RBFFI_MEMORYPOINTER_H
-#ifndef _MSC_VER
# include <stdbool.h>
-#else
-# include "win32/stdbool.h"
-#endif
#include <ruby.h>
#ifdef __cplusplus
diff --git a/ext/ffi_c/Pointer.h b/ext/ffi_c/Pointer.h
index 2d86851..b3d6c85 100644
--- a/ext/ffi_c/Pointer.h
+++ b/ext/ffi_c/Pointer.h
@@ -30,11 +30,7 @@
#ifndef RBFFI_POINTER_H
#define RBFFI_POINTER_H
-#ifndef _MSC_VER
# include <stdbool.h>
-#else
-# include "win32/stdbool.h"
-#endif
#ifdef __cplusplus
extern "C" {