diff options
| author | Magnus Hagander <magnus@hagander.net> | 2017-04-11 15:21:25 +0200 |
|---|---|---|
| committer | Magnus Hagander <magnus@hagander.net> | 2017-04-11 15:22:21 +0200 |
| commit | a4777f35565b80ae10605d6d417e5d173156f7da (patch) | |
| tree | 91b191a40437fd4d98a163bb4ce0f6ad8a3c8aff /src/interfaces/ecpg/test/expected/thread-thread_implicit.c | |
| parent | 6da56f3f84d430671d5edd8f9336bd744c089e31 (diff) | |
Remove symbol WIN32_ONLY_COMPILER
This used to mean "Visual C++ except in those parts where Borland C++
was supported where it meant one of those". Now that we don't support
Borland C++ anymore, simplify by using _MSC_VER which is the normal way
to detect Visual C++.
Diffstat (limited to 'src/interfaces/ecpg/test/expected/thread-thread_implicit.c')
| -rw-r--r-- | src/interfaces/ecpg/test/expected/thread-thread_implicit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/test/expected/thread-thread_implicit.c b/src/interfaces/ecpg/test/expected/thread-thread_implicit.c index 5f2d177c4ab..c43c1ada46e 100644 --- a/src/interfaces/ecpg/test/expected/thread-thread_implicit.c +++ b/src/interfaces/ecpg/test/expected/thread-thread_implicit.c @@ -153,7 +153,7 @@ void *test_thread(void *arg) /* build up connection name, and connect to database */ -#ifndef WIN32_ONLY_COMPILER +#ifndef _MSC_VER snprintf(l_connection, sizeof(l_connection), "thread_%03ld", threadnum); #else _snprintf(l_connection, sizeof(l_connection), "thread_%03ld", threadnum); |
