xcode 3.2.5 phonegap 1.1 error NSEC_PER_MSEC


error: 'NSEC_PER_MSEC' undeclared (first use in this function)


แก้ไขให้ define ที่ PhoneGapLib/Classes/Capture.m

#ifdef NSEC_PER_MSEC
#undef NSEC_PER_MSEC
#endif
#define NSEC_PER_MSEC 1000000ull

No comments: