# define DATASTART GC_data_start
# define DYNAMIC_LOADING
# endif
-# ifdef SN_TARGET_PS3\r
-# define NO_GETENV\r
-# define CPP_WORDSZ 32\r
-# define ALIGNMENT 4\r
- extern int _end [];\r
-// extern int _dso_handle[];\r
- extern int __bss_start;\r
-\r
-# define DATAEND (_end)\r
-# define DATASTART (__bss_start)\r
+# ifdef SN_TARGET_PS3
+# define NO_GETENV
+# define CPP_WORDSZ 32
+# define ALIGNMENT 4
+ extern int _end [];
+// extern int _dso_handle[];
+ extern int __bss_start;
+
+# define DATAEND (_end)
+# define DATASTART (__bss_start)
# define STACKBOTTOM ((ptr_t) ps3_get_stack_bottom ())
-# define USE_GENERIC_PUSHREGS\r
-# endif\r
-\r
+# define USE_GENERIC_PUSHREGS
+# endif
+
# ifdef NOSYS
# define ALIGNMENT 4
# define OS_TYPE "NOSYS"
# if defined(PCR) || defined(SRC_M3) || \
defined(GC_SOLARIS_THREADS) || defined(GC_WIN32_THREADS) || \
- defined(GC_PTHREADS) || defined(SN_TARGET_PS3)\r
+ defined(GC_PTHREADS) || defined(SN_TARGET_PS3)
# define THREADS
# endif
GC_amiga_get_mem((size_t)bytes + GC_page_size) \
+ GC_page_size-1)
# else
-# if defined(SN_TARGET_PS3)\r
- extern void *ps3_get_mem (size_t size);\r
-# define GET_MEM(bytes) (struct hblk*) ps3_get_mem (bytes)\r
-# else\r
+# if defined(SN_TARGET_PS3)
+ extern void *ps3_get_mem (size_t size);
+# define GET_MEM(bytes) (struct hblk*) ps3_get_mem (bytes)
+# else
extern ptr_t GC_unix_get_mem();
# define GET_MEM(bytes) (struct hblk *)GC_unix_get_mem(bytes)
-#endif\r
+#endif
# endif
# endif
# endif