Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#define __I386 | ||
#define __ARCHITECTURE "i386" | ||
#define __FUNCNAME_PREPEND "" | ||
#define __STACK_DIRECTION -1 | ||
#define __EOL_STRING "\n" | ||
#define __PATHCHAR '/' | ||
#define __CURRENTDIRSTR "." | ||
#define __CURRENTDIRCHAR '.' | ||
#define __NODRIVELETTERS | ||
typedef short _VB_boolean; | ||
typedef unsigned char _VB_byte; | ||
typedef short __integer; | ||
typedef long __long; | ||
typedef float __single; | ||
typedef double __double; | ||
|
||
void test_data_types(void) | ||
{ | ||
printf("Testing data types...\n"); | ||
|
||
if (sizeof (__byte) != 1) | ||
{ | ||
printf(" - __byte is (%d) bytes, should be 1.\n", sizeof (__byte)); | ||
errors++; | ||
} // if | ||
|
||
if (sizeof (__integer) != 2) | ||
{ | ||
printf(" - __integer is (%d) bytes, should be 2.\n", sizeof (__byte)); | ||
errors++; | ||
} // if | ||
|
||
} | ||
|
||
|