Rename USE_THREADS to ENABLE_THREAD_SAFETY to avoid name clash with Perl.
Peter Eisentraut <peter_e@gmx.net>
Rename USE_THREADS to ENABLE_THREAD_SAFETY to avoid name clash with Perl. Fixes compilation failure with --enable-thread-safety --with-perl and Perl 5.6.1.
Files
| Path | Change | +/− |
|---|---|---|
| configure | modified | +1 −1 |
| configure.in | modified | +2 −2 |
| src/include/pg_config.h.in | modified | +4 −4 |
| src/interfaces/ecpg/ecpglib/connect.c | modified | +11 −11 |
| src/interfaces/ecpg/ecpglib/misc.c | modified | +11 −11 |
| src/port/thread.c | modified | +12 −12 |
| src/tools/thread/thread_test.c | modified | +2 −2 |