Commit 45ce1511 by Niklas Een

Forgot that LIN64 was used in place of LIN for 64-bit architectures. Fixed.

parent 43df8967
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <assert.h> #include <assert.h>
#ifdef LIN #if defined(LIN) || defined(LIN64)
#include <unistd.h> #include <unistd.h>
#endif #endif
...@@ -127,7 +127,7 @@ void Gia_CreateHeader( FILE * pFile, int Type, int Size, unsigned char * pBuffer ...@@ -127,7 +127,7 @@ void Gia_CreateHeader( FILE * pFile, int Type, int Size, unsigned char * pBuffer
fprintf( pFile, " " ); fprintf( pFile, " " );
fprintf( pFile, "%.16d", Size ); fprintf( pFile, "%.16d", Size );
fprintf( pFile, " " ); fprintf( pFile, " " );
#ifndef LIN #if !defined(LIN) && !defined(LIN64)
RetValue = fwrite( pBuffer, Size, 1, pFile ); RetValue = fwrite( pBuffer, Size, 1, pFile );
assert( RetValue == 1 || Size == 0); assert( RetValue == 1 || Size == 0);
fflush( pFile ); fflush( pFile );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment