Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4164e66

Browse files
committed
Enable __FUNCTION__ on MSVC builds.
Hannes Eder
1 parent ca87db2 commit 4164e66

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/include/pg_config.h.win32

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
/* This file is generated from MingW ./configure, and with the following
55
* changes to be valid for Visual C++ (and compatible):
66
*
7-
* HAVE_CBRT, HAVE_FUNCNAME_FUNC, HAVE_FUNCNAME_FUNCTION, HAVE_GETOPT,
8-
* HAVE_GETOPT_H, HAVE_GETOPT_LONG, HAVE_RINT, HAVE_STRINGS_H,
9-
* HAVE_STRTOLL, HAVE_STRTOULL, HAVE_STRUCT_OPTION, ENABLE_THREAD_SAFETY
7+
* HAVE_CBRT, HAVE_FUNCNAME_FUNC, HAVE_GETOPT, HAVE_GETOPT_H,
8+
* HAVE_GETOPT_LONG, HAVE_RINT, HAVE_STRINGS_H, HAVE_STRTOLL,
9+
* HAVE_STRTOULL, HAVE_STRUCT_OPTION, ENABLE_THREAD_SAFETY
1010
*
1111
*/
1212

@@ -134,7 +134,7 @@
134134
//#define HAVE_FUNCNAME__FUNC 1
135135

136136
/* Define to 1 if your compiler understands __FUNCTION__. */
137-
#undef HAVE_FUNCNAME__FUNCTION
137+
#define HAVE_FUNCNAME__FUNCTION 1
138138

139139
/* Define to 1 if you have getaddrinfo(). */
140140
/* #undef HAVE_GETADDRINFO */

0 commit comments

Comments
 (0)