skip extern "C" when building without C API

test
Syping 1 year ago
parent 18b92c24f2
commit 5f46f18040
  1. 3
      src/RagePhoto.h

@ -170,14 +170,13 @@ protected:
};
#endif
#ifdef LIBRAGEPHOTO_C_API
#ifdef __cplusplus
extern "C" {
#else
#include "libragephoto_global.h"
#include <stdint.h>
#endif
#ifdef LIBRAGEPHOTO_C_API
typedef void* ragephoto_t;
/** Opens a \p ragephoto_t instance.

Loading…
Cancel
Save