mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 10:21:20 +00:00
Fix build on Darwin. Patch by Rich Coe (rcoe@wi.rr.com).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12917
This commit is contained in:
parent
ecfd85ebe2
commit
20c2f83060
@ -3,7 +3,13 @@
|
||||
#include <stdio.h> // fprintf
|
||||
#include <stdlib.h> // exit
|
||||
#include <assert.h> // assert
|
||||
#if defined(__APPLE__)
|
||||
#include <machine/endian.h>
|
||||
#define __BYTE_ORDER BYTE_ORDER
|
||||
#define __LITTLE_ENDIAN LITTLE_ENDIAN
|
||||
#else
|
||||
#include <endian.h>
|
||||
#endif
|
||||
#include <inttypes.h>
|
||||
#include "vtest.h"
|
||||
|
||||
|
||||
@ -2,7 +2,13 @@
|
||||
|
||||
#include <stdio.h> // fprintf
|
||||
#include <assert.h> // assert
|
||||
#include <endian.h> // __BYTE_ORDER
|
||||
#if defined(__APPLE__)
|
||||
#include <machine/endian.h>
|
||||
#define __BYTE_ORDER BYTE_ORDER
|
||||
#define __LITTLE_ENDIAN LITTLE_ENDIAN
|
||||
#else
|
||||
#include <endian.h>
|
||||
#endif
|
||||
#include <inttypes.h>
|
||||
#include "vbits.h"
|
||||
#include "vtest.h"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user