Skip to content

Commit

Permalink
Merge pull request ffi#875 from KoellM/fix-msvc-build
Browse files Browse the repository at this point in the history
Remove win32/stdbool.h
  • Loading branch information
larskanis committed Jan 10, 2021
2 parents a7fe170 + 4516f6a commit 3f862ca
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions ext/ffi_c/Function.h
Expand Up @@ -34,11 +34,7 @@
extern "C" {
#endif

#ifndef _MSC_VER
# include <stdbool.h>
#else
# include "win32/stdbool.h"
#endif

#include <ffi.h>

Expand Down
4 changes: 0 additions & 4 deletions ext/ffi_c/MemoryPointer.h
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions ext/ffi_c/Pointer.h
Expand Up @@ -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" {
Expand Down

0 comments on commit 3f862ca

Please sign in to comment.