#include "../picointernal.h"
#include "lwo2.h"
+#include <limits.h>
+#include "globaldefs.h"
/*
read requests until flen is reset.
====================================================================== */
-#define INT_MIN ( -2147483647 - 1 ) /* minimum (signed) int value */
-#define FLEN_ERROR INT_MIN
+const int FLEN_ERROR = INT_MIN;
static int flen;
int get_flen( void ) { return flen; }
-#ifndef __BIG_ENDIAN__
+#if !GDEF_ARCH_ENDIAN_BIG
/*
=====================================================================
revbytes()