File: 20120617_fix_for_hurd.diff

package info (click to toggle)
google-glog 0.6.0-3
  • links: PTS
  • area: main
  • in suites: sid
  • size: 1,336 kB
  • sloc: cpp: 9,590; sh: 141; ansic: 115; makefile: 47
file content (13 lines) | stat: -rw-r--r-- 510 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: pkg-google-glog/src/glog/platform.h
===================================================================
--- pkg-google-glog.orig/src/glog/platform.h
+++ pkg-google-glog/src/glog/platform.h
@@ -50,6 +50,8 @@
 #define GLOG_OS_NETBSD
 #elif defined(__OpenBSD__)
 #define GLOG_OS_OPENBSD
+#elif defined(__GNU__)
+# define OS_HURD
 #else
 // TODO(hamaji): Add other platforms.
 #error Platform not supported by glog. Please consider to contribute platform information by submitting a pull request on Github.