1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/www/mod_spdy/files/patch-common.h
Steve Wills 632a9f70e6 mod_spdy is an Apache 2.x filter module that provides SPDY support in the
Apache HTTPD web server. Because mod_spdy is an Apache module, it can be
loaded into currently deployed Apache HTTPD 2.x web servers using mod_so.
This module is still an early beta and is not yet suitable for production
environments.

WWW:	http://code.google.com/p/mod-spdy/

PR:		ports/166538
Submitted by:	Masaki TAGAWA
2012-05-04 13:37:52 +00:00

14 lines
411 B
C

--- third_party/protobuf/src/google/protobuf/stubs/common.h 2012-03-31 16:29:08.772785000 +0900
+++ third_party/protobuf/src/google/protobuf/stubs/common.h 2012-03-31 16:59:06.012795843 +0900
@@ -47,6 +47,10 @@
#elif !defined(_MSC_VER)
#include <stdint.h>
#endif
+#if defined(__FreeBSD__)
+#undef major
+#undef minor
+#endif
#if defined(_MSC_VER) && defined(_CPPUNWIND)
#define PROTOBUF_USE_EXCEPTIONS