X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=epoc%2Fepocish.h;h=ae4970fc3aab159158d5041942f8534666228515;hb=a08f42e9ba7f15d15d2c01f54d34c1e0cef4510c;hp=f4be0ff677b4813c0d4a8ec160870fc2c0c7ea3c;hpb=16fe6d5906f6eff9da00cb861a7054a440d1f6eb;p=p5sagit%2Fp5-mst-13.2.git diff --git a/epoc/epocish.h b/epoc/epocish.h index f4be0ff..ae4970f 100644 --- a/epoc/epocish.h +++ b/epoc/epocish.h @@ -121,9 +121,6 @@ /* getsockname returns the size of struct sockaddr_in *without* padding */ #define BOGUS_GETNAME_RETURN 8 -/* Yes, size_t is size_t */ -#define Sock_size_t size_t - /* read() on a socket blocks until buf is filled completly, recv() returns each massage @@ -133,3 +130,19 @@ /* No /dev/random available*/ #define PERL_NO_DEV_RANDOM + +/* + work around for buggy atof(): + atof() in ER5 stdlib depends on locale. +*/ + +double epoc_atof( const char *ptr); +#define atof(a) epoc_atof(a) +#define strtoul(a,b,c) epoc_strtoul(a,b,c) + +#define init_os_extras Perl_init_os_extras + +#define NO_ENVIRON_ARRAY + +#define ARG_MAX 4096 +