判断是真机还是模拟器

#include "TargetConditionals.h"

 

#if !TARGET_IPHONE_SIMULATOR

#include "route.h"

#else

#include <net/route.h>

#endif

posted @ 2015-05-25 15:31  金正嗯  阅读(416)  评论(0)    收藏  举报