From: Miguel de Icaza Date: Wed, 20 Jan 2010 21:35:58 +0000 (+0000) Subject: remove DOS newlines X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7ecbe3cd0dfc7c6aad7be2f191686efe13ec6fb3;p=gc remove DOS newlines svn path=/trunk/mono/; revision=149932 --- diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h index 39afc92f..aae3755b 100644 --- a/include/private/gcconfig.h +++ b/include/private/gcconfig.h @@ -884,20 +884,20 @@ # define DATASTART GC_data_start # define DYNAMIC_LOADING # endif -# 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) +# 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 -# endif - +# define USE_GENERIC_PUSHREGS +# endif + # ifdef NOSYS # define ALIGNMENT 4 # define OS_TYPE "NOSYS" @@ -2233,7 +2233,7 @@ # if defined(PCR) || defined(SRC_M3) || \ defined(GC_SOLARIS_THREADS) || defined(GC_WIN32_THREADS) || \ - defined(GC_PTHREADS) || defined(SN_TARGET_PS3) + defined(GC_PTHREADS) || defined(SN_TARGET_PS3) # define THREADS # endif @@ -2384,13 +2384,13 @@ GC_amiga_get_mem((size_t)bytes + GC_page_size) \ + GC_page_size-1) # else -# if defined(SN_TARGET_PS3) - extern void *ps3_get_mem (size_t size); -# define GET_MEM(bytes) (struct hblk*) ps3_get_mem (bytes) -# else +# 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 +#endif # endif # endif # endif