Gitweb links:
...log
http://git.netsurf-browser.org/libnsfb.git/shortlog/9fc2238945747b27858a34c26c7c64cf895df7e8
...commit
http://git.netsurf-browser.org/libnsfb.git/commit/9fc2238945747b27858a34c26c7c64cf895df7e8
...tree
http://git.netsurf-browser.org/libnsfb.git/tree/9fc2238945747b27858a34c26c7c64cf895df7e8
The branch, master has been updated
via 9fc2238945747b27858a34c26c7c64cf895df7e8 (commit)
from 6742ef25b910a3a69cce5c9bfd8b9a64b8e7f121 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/libnsfb.git/commit/?id=9fc2238945747b27858a34c26c7c64cf895df7e8
commit 9fc2238945747b27858a34c26c7c64cf895df7e8
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>
use the darwin specific macros for endian checking
This is necessary to avoid issues around having the correct macros
defined in the darwin environment.
diff --git a/src/plot.h b/src/plot.h
index 2beca42..2fd2ebf 100644
--- a/src/plot.h
+++ b/src/plot.h
@@ -32,7 +32,7 @@
#elif defined(__APPLE__)
/* mac os x has the include somewhere different */
#include <machine/endian.h>
- #if BYTE_ORDER == BIG_ENDIAN
+ #if __DARWIN_BYTE_ORDER == __DARWIN_BIG_ENDIAN
#define NSFB_BE_BYTE_ORDER
#endif
#else
-----------------------------------------------------------------------
Summary of changes:
src/plot.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/plot.h b/src/plot.h
index 2beca42..2fd2ebf 100644
--- a/src/plot.h
+++ b/src/plot.h
@@ -32,7 +32,7 @@
#elif defined(__APPLE__)
/* mac os x has the include somewhere different */
#include <machine/endian.h>
- #if BYTE_ORDER == BIG_ENDIAN
+ #if __DARWIN_BYTE_ORDER == __DARWIN_BIG_ENDIAN
#define NSFB_BE_BYTE_ORDER
#endif
#else
--
NetSurf Framebuffer library
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org