| version 1.2 | | version 1.3 |
|---|
| | |
| * Header for error handling/printing/exiting code | | * Header for error handling/printing/exiting code |
| * | | * |
| * $Log$ | | * $Log$ |
| | | * Revision 1.3 1999/10/14 04:48:21 donut |
| | | * alpha fixes, and gl_font args |
| | | * |
| * Revision 1.2 1999/08/05 22:53:41 sekmu | | * Revision 1.2 1999/08/05 22:53:41 sekmu |
| * | | * |
| * D3D patch(es) from ADB | | * D3D patch(es) from ADB |
| | |
| #ifdef __GNUC__ | | #ifdef __GNUC__ |
| //edited 05/17/99 Matt Mueller - I dunno if there is a non-asm way to do a "breakpoint" so this'll have to do. | | //edited 05/17/99 Matt Mueller - I dunno if there is a non-asm way to do a "breakpoint" so this'll have to do. |
| #ifdef NO_ASM | | #ifdef NO_ASM |
| #define Int3() Error("int 3 %s:%i\n",__FILE__,__LINE__); | | //#define Int3() Error("int 3 %s:%i\n",__FILE__,__LINE__); |
| | | #define Int3() {volatile int a=0,b=1/a;} |
| #else | | #else |
| #define Int3() asm("int $3") | | #define Int3() asm("int $3") |
| #endif | | #endif |