Linker Error when using TARGET_IPHONE_SIMULATOR in C++
The TARGET_IPHONE_SIMULATOR macro does not work in the C++ source I added
to the project. Though it should be noted that the code runs if I simply
change out the macro with a 1 or a 0.
So here's the setup. I've been converting the files from :
https://code.google.com/p/ld48jovoc/source/browse/util/tweakval/?r=13 to
work with the iOS application I'm making in XCode.
Everything is pretty much the same except for the header.
#ifndef TWEAKVAL_H
#define TWEAKVAL_H
#ifdef __cplusplus
extern "C" {
No comments:
Post a Comment