| version 1.3 | | version 1.4 |
|---|
| | |
| * Header for error handling/printing/exiting code | | * Header for error handling/printing/exiting code |
| * | | * |
| * $Log$ | | * $Log$ |
| | | * Revision 1.4 2000/02/07 07:41:10 donut |
| | | * fixed Int3 unused var warning |
| | | * |
| * Revision 1.3 1999/10/14 04:48:21 donut | | * Revision 1.3 1999/10/14 04:48:21 donut |
| * alpha fixes, and gl_font args | | * alpha fixes, and gl_font args |
| * | | * |
| | |
| //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;} | | #define Int3() {volatile int a=0,b=1/a;a=b;}/*do a=b to get rid of unused var warning;*/ |
| #else | | #else |
| #define Int3() asm("int $3") | | #define Int3() asm("int $3") |
| #endif | | #endif |