XCode build error

I’m getting an error while building in xcode.

XCode build error from the Locale.h file
Expected identifier or ‘(’

Does anyone know how to get around this? It’s holding up my app store submission.

Thanks

Try using a guard macro

 #ifdef __cplusplus
    extern "C" {
 #endif

And again for the last bracket

 #ifdef __cplusplus
    }
 #endif

Thank you, that worked