Skip to content
Snippets Groups Projects
Commit 8271f218 authored by Constantin Papizh's avatar Constantin Papizh
Browse files

extern c

parent da0771d2
No related branches found
No related tags found
2 merge requests!263Master,!259extern c
Pipeline #6631 passed with stage
in 12 seconds
...@@ -36,6 +36,10 @@ ...@@ -36,6 +36,10 @@
#undef clamp #undef clamp
#define clamp(x, low, high) (((x) > (high)) ? (high) : (((x) < (low)) ? (low) : (x))) #define clamp(x, low, high) (((x) > (high)) ? (high) : (((x) < (low)) ? (low) : (x)))
#ifdef __cplusplus
extern "C" {
#endif
#ifdef _WIN32 #ifdef _WIN32
char *strptime( char *buff, const char *fmt, struct tm *tm ); char *strptime( char *buff, const char *fmt, struct tm *tm );
#endif #endif
...@@ -113,3 +117,6 @@ char *dap_itoa128(char *a_str, int128_t a_value, int a_base); ...@@ -113,3 +117,6 @@ char *dap_itoa128(char *a_str, int128_t a_value, int a_base);
char *_strndup(const char *str, unsigned long len); char *_strndup(const char *str, unsigned long len);
#endif #endif
#ifdef __cplusplus
}
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment