| 1 | /* |
| 2 | * rdiscount extension discount configuration |
| 3 | */ |
| 4 | #ifndef __MARKDOWN_D |
| 5 | #define __MARKDOWN_D 1 |
| 6 | |
| 7 | /* tabs are four spaces */ |
| 8 | #define TABSTOP 4 |
| 9 | |
| 10 | #define DESTRUCTOR __attribute__((__destructor__)) |
| 11 | |
| 12 | /* these are setup by extconf.rb */ |
| 13 | #if HAVE_RANDOM |
| 14 | #define COINTOSS() (random()&1) |
| 15 | #elif HAVE_RAND |
| 16 | #define COINTOSS() (rand()&1) |
| 17 | #endif |
| 18 | |
| 19 | #if HAVE_SRANDOM |
| 20 | #define INITRNG(x) srandom((unsigned int)x) |
| 21 | #elif HAVE_SRAND |
| 22 | #define INITRNG(x) srand((unsigned int)x) |
| 23 | #endif |
| 24 | |
| 25 | #include "ruby-config.h" |
| 26 | |
| 27 | #endif/* __MARKDOWN_D */ |