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.


Try using a guard macro

 #ifdef __cplusplus
    extern "C" {

And again for the last bracket

 #ifdef __cplusplus

Thank you, that worked