1
0
mirror of https://github.com/benhoyt/inih.git synced 2025-02-05 07:08:23 +08:00

Don't use __ reserved identifiers (fixes issue #111)

This commit is contained in:
Ben Hoyt 2020-07-19 14:57:51 +12:00
parent 32519ea045
commit d3eda4f60b
2 changed files with 6 additions and 6 deletions

View File

@ -9,8 +9,8 @@
// //
// https://github.com/benhoyt/inih // https://github.com/benhoyt/inih
#ifndef __INIREADER_H__ #ifndef INIREADER_H
#define __INIREADER_H__ #define INIREADER_H
#include <map> #include <map>
#include <string> #include <string>
@ -70,4 +70,4 @@ private:
const char* value); const char* value);
}; };
#endif // __INIREADER_H__ #endif // INIREADER_H

6
ini.h
View File

@ -11,8 +11,8 @@ https://github.com/benhoyt/inih
*/ */
#ifndef __INI_H__ #ifndef INI_H
#define __INI_H__ #define INI_H
/* Make this header file easier to include in C++ code */ /* Make this header file easier to include in C++ code */
#ifdef __cplusplus #ifdef __cplusplus
@ -145,4 +145,4 @@ int ini_parse_string(const char* string, ini_handler handler, void* user);
} }
#endif #endif
#endif /* __INI_H__ */ #endif /* INI_H */