Changeset View
Changeset View
Standalone View
Standalone View
biology/cufflinks/files/patch-src_GBase.h
--- src/GBase.h.orig 2019-05-25 22:08:19 UTC | --- src/GBase.h.orig 2019-07-06 16:28:01 UTC | ||||
+++ src/GBase.h | +++ src/GBase.h | ||||
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | ||||
#ifndef G_BASE_DEFINED | #ifndef G_BASE_DEFINED | ||||
#define G_BASE_DEFINED | #define G_BASE_DEFINED | ||||
-#ifndef _POSIX_SOURCE | -#ifndef _POSIX_SOURCE | ||||
+#if !defined(_POSIX_SOURCE) && !defined(__FreeBSD__) | +#if !defined(_POSIX_SOURCE) && !defined(__FreeBSD__) | ||||
//mostly for MinGW | //mostly for MinGW | ||||
#define _POSIX_SOURCE | #define _POSIX_SOURCE | ||||
#endif | #endif | ||||
@@ -71,7 +71,7 @@ typedef int16_t int16; | |||||
typedef uint16_t uint16; | |||||
typedef unsigned char uchar; | |||||
-typedef unsigned char byte; | |||||
+typedef unsigned char bytex; | |||||
#ifndef MAXUINT | |||||
#define MAXUINT ((unsigned int)-1) |