Ignore:
Timestamp:
Jul 20, 2011 3:00:48 AM (13 years ago)
Author:
ming
Message:

Re #1278: Fixed linker error on Mac and iOS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/os_core_darwin.m

    r3664 r3670  
    1818 */ 
    1919#include <pj/os.h> 
     20#include "TargetConditionals.h" 
     21 
     22#if TARGET_OS_IPHONE 
     23 
     24PJ_DEF(int) pj_run_app(pj_main_func_ptr main_func, int argc, char *argv[], 
     25                       unsigned flags) 
     26{ 
     27    return (*main_func)(argc, argv); 
     28} 
     29 
     30#else 
     31 
    2032#include <pthread.h> 
    2133#include <AppKit/AppKit.h> 
     
    8597    return param.retval; 
    8698} 
     99 
     100#endif 
Note: See TracChangeset for help on using the changeset viewer.