Merge pull request #3055 from mudlord/master

added missing guards.
This commit is contained in:
Twinaphex 2016-06-03 02:33:50 +02:00
commit 5f843d30a0
2 changed files with 17 additions and 0 deletions

View File

@ -19,6 +19,10 @@
#include <stdint.h>
#include <stdlib.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct cheevos_ctx_desc
{
unsigned idx;
@ -44,4 +48,8 @@ bool cheevos_set_cheats(void);
void cheevos_set_support_cheevos(bool state);
#ifdef __cplusplus
}
#endif
#endif /* __RARCH_CHEEVOS_H */

View File

@ -157,6 +157,10 @@
#define MSG_DOWNLOADING 0x465305dbU
#define MSG_EXTRACTING 0x25a4c19eU
#ifdef __cplusplus
extern "C" {
#endif
const char *msg_hash_to_str(uint32_t hash);
const char *msg_hash_to_str_fr(uint32_t hash);
@ -183,5 +187,10 @@ const char *msg_hash_to_str_us(uint32_t hash);
uint32_t msg_hash_calculate(const char *s);
#ifdef __cplusplus
}
#endif
#endif