From 60341ac292bb9ba6f1d33632f8fd8e767c6a99d4 Mon Sep 17 00:00:00 2001 From: mick grierson Date: Tue, 27 Oct 2015 17:05:12 +0000 Subject: clean up --- .../iOS/maximFeatureExtractor0.8.4/src/main.mm | 29 ---------------------- 1 file changed, 29 deletions(-) delete mode 100755 ofxMaxim/openFrameworksExamples/iOS/maximFeatureExtractor0.8.4/src/main.mm (limited to 'ofxMaxim/openFrameworksExamples/iOS/maximFeatureExtractor0.8.4/src/main.mm') diff --git a/ofxMaxim/openFrameworksExamples/iOS/maximFeatureExtractor0.8.4/src/main.mm b/ofxMaxim/openFrameworksExamples/iOS/maximFeatureExtractor0.8.4/src/main.mm deleted file mode 100755 index a02b813..0000000 --- a/ofxMaxim/openFrameworksExamples/iOS/maximFeatureExtractor0.8.4/src/main.mm +++ /dev/null @@ -1,29 +0,0 @@ -#include "ofMain.h" -#include "ofApp.h" - - -// use the below code to allow deployment on the iOS simulator because OF 0.8.4 is broken -extern "C"{ - size_t fwrite$UNIX2003( const void *a, size_t b, size_t c, FILE *d ) - { - return fwrite(a, b, c, d); - } - char* strerror$UNIX2003( int errnum ) - { - return strerror(errnum); - } - time_t mktime$UNIX2003(struct tm * a) - { - return mktime(a); - } - double strtod$UNIX2003(const char * a, char ** b) { - return strtod(a, b); - } -} - - -int main(){ - ofSetupOpenGL(1024,768, OF_FULLSCREEN); // <-------- setup the GL context - - ofRunApp(new ofApp); -} -- cgit v1.3