X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=rmac.h;h=ca43ea4edd00c27a28acf52a12d2892510db82c0;hp=f660a0d788295c711d39bbebcd6e240dbd30692b;hb=d16b8ea0ee65b2ad901ca6b0624c07e6e4930cc4;hpb=49cce96fba11282e4244187f15be418d5ae5bb8d diff --git a/rmac.h b/rmac.h index f660a0d..ca43ea4 100644 --- a/rmac.h +++ b/rmac.h @@ -12,7 +12,6 @@ // // TARGET SPECIFIC BUILD SETTINGS // - #ifdef WIN32 #define PLATFORM "Win32" // Release platform - windows #define _OPEN_FLAGS _O_TRUNC|_O_CREAT|_O_BINARY|_O_RDWR @@ -60,7 +59,11 @@ #endif #endif +// +// Non-target specific stuff +// #include +#include "symbol.h" #define BYTE uint8_t #define WORD uint16_t @@ -113,21 +116,6 @@ #define MWC 1 // Mark Williams object format #define BSD 2 // BSD object format -// Symbols -#define SYM struct _sym -SYM -{ - SYM * snext; // * -> Next symbol on hash-chain - SYM * sorder; // * -> Next sym in order of refrence - SYM * sdecl; // * -> Next sym in order of declaration - BYTE stype; // Symbol type - WORD sattr; // Attribute bits - LONG sattre; // Extended attribute bits - WORD senv; // Enviroment number - LONG svalue; // Symbol value - char * sname; // * -> Symbol's print-name -}; - // Pointer type that can point to (almost) anything #define PTR union _ptr PTR