early-access version 2853
This commit is contained in:
14
externals/vcpkg/ports/giflib/msvc-guard-unistd-h.patch
vendored
Executable file
14
externals/vcpkg/ports/giflib/msvc-guard-unistd-h.patch
vendored
Executable file
@@ -0,0 +1,14 @@
|
||||
diff --git a/gif_hash.h b/gif_hash.h
|
||||
index 6a1b585..e6712e8 100644
|
||||
--- a/gif_hash.h
|
||||
+++ b/gif_hash.h
|
||||
@@ -9,7 +9,9 @@ SPDX-License-Identifier: MIT
|
||||
#ifndef _GIF_HASH_H_
|
||||
#define _GIF_HASH_H_
|
||||
|
||||
+#ifndef _MSC_VER
|
||||
#include <unistd.h>
|
||||
+#endif
|
||||
#include <stdint.h>
|
||||
|
||||
#define HT_SIZE 8192 /* 12bits = 4096 or twice as big! */
|
||||
Reference in New Issue
Block a user