Skip to content

Commit 3901c23

Browse files
Merge branch 'mysql-8.0' into mysql-trunk
Change-Id: Ibcbb448c12a9e1120f4001ee6baf4df0297901ca
2 parents a2a22ea + ab35924 commit 3901c23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/mysql.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ const char *STDCALL mysql_character_set_name(MYSQL *mysql);
458458
int STDCALL mysql_set_character_set(MYSQL *mysql, const char *csname);
459459

460460
MYSQL *STDCALL mysql_init(MYSQL *mysql);
461-
#ifdef __cplusplus
461+
#if defined(__cplusplus) && (__cplusplus >= 201402L)
462462
[[deprecated("Use mysql_options() instead.")]]
463463
#endif
464464
bool STDCALL

0 commit comments

Comments
 (0)