home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
LIBSRC.ZOO
/
libsrc
/
longlong
/
tm.h
< prev
next >
Wrap
Text File
|
1992-03-12
|
1KB
|
49 lines
/* OS/2 specific */
#define OS2
#define GCC_INCLUDE_DIR ""
#define GPLUSPLUS_INCLUDE_DIR ""
#include "i386gas.h"
#define _ANSI_H
#define USE_COLLECT
#define BIGGEST_FIELD_ALIGNMENT \
(maximum_field_alignment ? maximum_field_alignment : 32)
extern int maximum_field_alignment;
/* Code to handle #pragma directives. The interface is a bit messy,
but there's no simpler way to do this while still using yylex. */
#define HANDLE_PRAGMA(FILE) \
do { \
while (c == ' ' || c == '\t') \
c = getc (FILE); \
if (c == '\n' || c == EOF) \
{ \
handle_pragma_token (0, 0); \
return c; \
} \
ungetc (c, FILE); \
switch (yylex ()) \
{ \
case IDENTIFIER: \
case TYPENAME: \
case STRING: \
case CONSTANT: \
handle_pragma_token (token_buffer, yylval.ttype); \
break; \
default: \
handle_pragma_token (token_buffer, 0); \
} \
if (nextchar >= 0) \
c = nextchar, nextchar = -1; \
else \
c = getc (FILE); \
} while (1)