*
*/
+#if defined(__APPLE__) && defined(__MACH__)
+#include <sys/types.h>
+#include <sys/malloc.h>
+#else
#include <malloc.h>
+#endif
#include <stdio.h>
#include <string.h>
#include "aslink.h"
#include <stdio.h>
#include <setjmp.h>
#include <string.h>
+#if defined(__APPLE__) && defined(__MACH__)
+#include <sys/types.h>
+#include <sys/malloc.h>
+#else
#include <malloc.h>
+#endif
#include "asm.h"
#include <stdio.h>
#include <setjmp.h>
#include <string.h>
+#if defined(__APPLE__) && defined(__MACH__)
+#include <sys/types.h>
+#include <sys/malloc.h>
+#else
#include <malloc.h>
+#endif
#include "asm.h"
/*)Module assym.c
int listLines = 10;
EXTERN_STACK_DCL(callStack,function *,1024);
+#if defined(__APPLE__) && defined(__MACH__)
+static char *copying=
+{" GNU GENERAL PUBLIC LICENSE Version 2"};
+#else
static char *copying=
" GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
";
+#endif
static void printTypeInfo(link *);
static void printValAggregates (symbol *,link *,char,unsigned int);
-------------------------------------------------------------------------*/
#include <stdio.h>
+#if defined(__APPLE__) && defined(__MACH__)
+#include <sys/malloc.h>
+#else
#include <malloc.h>
+#endif
#include "newalloc.h"
#include <assert.h>
#include "SDCCset.h"
*/
#include <stdio.h>
+#if defined(__APPLE__) && defined(__MACH__)
+#include <sys/malloc.h>
+#else
#include <malloc.h>
+#endif
#include <stdlib.h>
#include <string.h>
#include <memory.h>
#ifndef GCC_HASHTABLE_H
#define GCC_HASHTABLE_H
+#if defined(__APPLE__) && defined(__MACH__)
+#include "libiberty/obstack.h"
+#else
#include "obstack.h"
+#endif
/* This is what each hash table entry points to. It may be embedded
deeply within another object. */
/* There are an extraordinary number of issues with <ctype.h>.
The last straw is that it varies with the locale. Use libiberty's
replacement instead. */
+#if defined(__APPLE__) && defined(__MACH__)
+#include <libiberty/safe-ctype.h>
+#else
#include <safe-ctype.h>
+#endif
/* Define a default escape character; it's different for EBCDIC. */
#ifndef TARGET_ESC