aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/thread/thread.pgc
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/ecpg/test/thread/thread.pgc')
-rw-r--r--src/interfaces/ecpg/test/thread/thread.pgc9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/interfaces/ecpg/test/thread/thread.pgc b/src/interfaces/ecpg/test/thread/thread.pgc
index e7d8c00af6f..b9b9ebb441d 100644
--- a/src/interfaces/ecpg/test/thread/thread.pgc
+++ b/src/interfaces/ecpg/test/thread/thread.pgc
@@ -6,14 +6,6 @@
#include <stdlib.h>
#include "ecpg_config.h"
-#ifndef ENABLE_THREAD_SAFETY
-int
-main(void)
-{
- printf("No threading enabled.\n");
- return 0;
-}
-#else
#ifndef WIN32
#include <pthread.h>
#else
@@ -133,4 +125,3 @@ void *test_thread(void *arg)
EXEC SQL DISCONNECT :l_connection;
return NULL;
}
-#endif /* ENABLE_THREAD_SAFETY */