mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MariaRocks: fix compilation on Oracle Linux Server 7.3.
#define __STDC_FORMAT_MACROS. Unfortunately there is no single location that would be #includ'ed before everything else. Have to put the #define into each .cc file
This commit is contained in:
@@ -20,6 +20,9 @@
|
|||||||
|
|
||||||
#define MYSQL_SERVER 1
|
#define MYSQL_SERVER 1
|
||||||
|
|
||||||
|
/* For use of 'PRIu64': */
|
||||||
|
#define __STDC_FORMAT_MACROS
|
||||||
|
|
||||||
#include <my_config.h>
|
#include <my_config.h>
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
@@ -18,6 +18,9 @@
|
|||||||
#pragma implementation // gcc: Class implementation
|
#pragma implementation // gcc: Class implementation
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* For use of 'PRIu64': */
|
||||||
|
#define __STDC_FORMAT_MACROS
|
||||||
|
|
||||||
#include <my_config.h>
|
#include <my_config.h>
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
@@ -18,6 +18,9 @@
|
|||||||
#pragma implementation // gcc: Class implementation
|
#pragma implementation // gcc: Class implementation
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* For use of 'PRIu64': */
|
||||||
|
#define __STDC_FORMAT_MACROS
|
||||||
|
|
||||||
#include <my_config.h>
|
#include <my_config.h>
|
||||||
/* This C++ file's header file */
|
/* This C++ file's header file */
|
||||||
#include "./rdb_datadic.h"
|
#include "./rdb_datadic.h"
|
||||||
|
Reference in New Issue
Block a user