summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoellM <hxtx2013@gmail.com>2021-01-11 00:00:28 +0800
committerKoellM <hxtx2013@gmail.com>2021-01-11 00:00:28 +0800
commit4516f6a2f608d081366ad0eefc712f1112253402 (patch)
tree3aea6801318959d86fe3ebcab53e040cc6d22257
parentb79f52536af71fd05c78931f5162be83b1820c3a (diff)
downloadffi-4516f6a2f608d081366ad0eefc712f1112253402.tar.gz
Fix msvc build
-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" {