summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>1998-05-15 16:03:35 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>1998-05-15 16:03:35 +0000
commit157a3d9a879b77013095b55ff0a0418b88f31771 (patch)
tree9804b14da33dc2fed24bf930de9ce66c79cc2484 /handy.h
parent34e9701933920a1b91b5f5717935652f86850872 (diff)
parentebc58f1ae3702319e4a289ddf12b65aa41e620b0 (diff)
downloadperl-157a3d9a879b77013095b55ff0a0418b88f31771.tar.gz
Integrate win32
p4raw-id: //depot/ansiperl@987
Diffstat (limited to 'handy.h')
-rw-r--r--handy.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/handy.h b/handy.h
index 233304b1f2..e74a3069a8 100644
--- a/handy.h
+++ b/handy.h
@@ -119,7 +119,7 @@ typedef unsigned short U16;
#define U16_MAX PERL_USHORT_MAX
#define U16_MIN PERL_USHORT_MIN
-#if BYTEORDER > 0x4321
+#if LONGSIZE > 4
typedef int I32;
typedef unsigned int U32;
# define I32_MAX PERL_INT_MAX
@@ -263,6 +263,9 @@ typedef U16 line_t;
*/
#ifndef lint
+
+#define NEWSV(x,len) newSV(len)
+
#ifndef LEAKTEST
#define New(x,v,n,t) (v = (t*)safemalloc((MEM_SIZE)((n)*sizeof(t))))
@@ -274,7 +277,6 @@ typedef U16 line_t;
#define Renewc(v,n,t,c) \
(v = (c*)saferealloc((Malloc_t)(v),(MEM_SIZE)((n)*sizeof(t))))
#define Safefree(d) safefree((Malloc_t)(d))
-#define NEWSV(x,len) newSV(len)
#else /* LEAKTEST */
@@ -287,7 +289,6 @@ typedef U16 line_t;
#define Renewc(v,n,t,c) \
(v = (c*)safexrealloc((Malloc_t)(v),(MEM_SIZE)((n)*sizeof(t))))
#define Safefree(d) safexfree((Malloc_t)(d))
-#define NEWSV(x,len) newSV(x,len)
#define MAXXCOUNT 1400
#define MAXY_SIZE 80