|
35 | 35 | /* might be in either frontend or backend */
|
36 | 36 | #include"postgres_fe.h"
|
37 | 37 |
|
| 38 | +#ifdefENABLE_THREAD_SAFETY |
| 39 | +#errorThe replacement snprintf() is not thread-safe. \ |
| 40 | +Your platform must have a thread-safe snprintf() to compile with threads. |
| 41 | +#endif |
| 42 | + |
38 | 43 | #include<sys/ioctl.h>
|
39 | 44 | #include<sys/param.h>
|
40 | 45 |
|
@@ -74,7 +79,7 @@ typedef unsigned long ulong_long;
|
74 | 79 | * causing nast effects.
|
75 | 80 | **************************************************************/
|
76 | 81 |
|
77 |
| -/*static char _id[] = "$PostgreSQL: pgsql/src/port/snprintf.c,v 1.2 2003/11/29 22:41:31 pgsql Exp $";*/ |
| 82 | +/*static char _id[] = "$PostgreSQL: pgsql/src/port/snprintf.c,v 1.3 2004/01/08 17:15:54 momjian Exp $";*/ |
78 | 83 | staticchar*end;
|
79 | 84 | staticintSnprfOverflow;
|
80 | 85 |
|
|