Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports
Path: blob/main/biology/cufflinks/files/patch-src_GBase.h
18160 views
1
--- src/GBase.h.orig 2019-07-06 16:28:01 UTC
2
+++ src/GBase.h
3
@@ -1,6 +1,6 @@
4
#ifndef G_BASE_DEFINED
5
#define G_BASE_DEFINED
6
-#ifndef _POSIX_SOURCE
7
+#if !defined(_POSIX_SOURCE) && !defined(__FreeBSD__)
8
//mostly for MinGW
9
#define _POSIX_SOURCE
10
#endif
11
@@ -71,7 +71,7 @@ typedef int16_t int16;
12
typedef uint16_t uint16;
13
14
typedef unsigned char uchar;
15
-typedef unsigned char byte;
16
+typedef unsigned char bytex;
17
18
#ifndef MAXUINT
19
#define MAXUINT ((unsigned int)-1)
20
21