d23d35ea8b
One of the previous commits to devel/bazel broke tensorflow. Fun fact: the latest version of tensorflow-2.0.0 also fails to build with the latest version of bazel-1.1.0.
14 lines
362 B
C
14 lines
362 B
C
--- src/tools/singlejar/port.h.orig 2018-09-18 16:02:23.430634000 +0200
|
|
+++ src/tools/singlejar/port.h 2018-09-18 16:03:58.961047000 +0200
|
|
@@ -28,6 +28,11 @@
|
|
#include <sys/types.h>
|
|
#include <time.h>
|
|
|
|
+#ifndef _OFF64_T_DECLARED
|
|
+typedef off_t off64_t;
|
|
+#define _OFF64_T_DECLARED
|
|
+#endif
|
|
+
|
|
#if defined(__APPLE__)
|
|
typedef off_t off64_t;
|
|
#elif defined(_WIN32)
|