diff --git a/src/RagePhoto.h b/src/RagePhoto.h index ab796fb..5e38f43 100644 --- a/src/RagePhoto.h +++ b/src/RagePhoto.h @@ -170,14 +170,13 @@ protected: }; #endif +#ifdef LIBRAGEPHOTO_C_API #ifdef __cplusplus extern "C" { #else #include "libragephoto_global.h" #include #endif -#ifdef LIBRAGEPHOTO_C_API - typedef void* ragephoto_t; /** Opens a \p ragephoto_t instance.