home *** CD-ROM | disk | FTP | other *** search
- /* ---------------------------------------------------------------------- */
- /* Copyright (C) 1991 by Natürlich! */
- /* This file is copyrighted! */
- /* Refer to the documentation for details. */
- /* ---------------------------------------------------------------------- */
- #include "defines.h"
- #if ! VERSION
- # include "nasm.h"
- # include "object.h"
-
- /* if you can't get thru here w/o warnings set INCOMPATIBLE to 1 */
- void version0()
- {
- if( EXPRSIZE != sizeof( expr)) /* Hmm this looks strange ... */
- nwarning("Expression in structs.h structure wrong");
- if( LSYMSIZE != sizeof( linksymbol))
- nwarning("linksymbol in object.h has non-portable size");
- if( OBJHSIZE != sizeof( obj_h))
- nwarning("obj_h in object.h has non-portable size");
- if( EDROPSIZE != sizeof( e_dropped))
- nwarning("e_dropped in object.h has non-portable size");
- if( IDROPSIZE != sizeof( i_dropped))
- nwarning("i_dropped in object.h has non-portable size");
- if( RDROPSIZE != sizeof( r_dropped))
- nwarning("r_dropped in object.h has non-portable size");
- if( SDROPSIZE != sizeof( s_dropped))
- nwarning("s_dropped in object.h has non-portable size");
- }
-
- char x1[] = " _SEGMENT ",
- x2[] = " _IMMETAB ",
- x3[] = " _REFTABS ",
- x4[] = " _EXPRESS ",
- x5[] = " _SYMBOLS ",
- x6[] = " _FIX_UPS ";
-
- #endif
-