Make time_posix.cc build in Native Client
Make time_posix.cc build in Native Client

Time handling in Native Client isn't quite as robust as on other posix systems.
This patch adds a handful of ifdefs to work around these limitations.  I've
filed the underlying bugs with NaCl, but they aren't likely to be fixed until
after NaCl switches to glibc.

Review URL: http://codereview.chromium.org/6683025

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@77966 0039d316-1c4b-4281-b951-d872f2087c98

jaruba/chromium.src,fujunwei/chromium-crosswalk,junmin-zhu/chromium-rivertrail,pozdnyakov/chromium-crosswalk,hujiajie/pa-chromium,crosswalk-project/chromium-crosswalk-efl,mohamed--abdel-maksoud/chromium.src,mohamed--abdel-maksoud/chromium.src,hgl888/chromium-crosswalk,timopulkkinen/BubbleFish,TheTypoMaster/chromium-crosswalk,ChromiumWebApps/chromium,littlstar/chromium.src,PeterWangIntel/chromium-crosswalk,ChromiumWebApps/chromium,rogerwang/chromium,ChromiumWebApps/chromium,hgl888/chromium-crosswalk,fujunwei/chromium-crosswalk,M4sse/chromium.src,PeterWangIntel/chromium-crosswalk,Pluto-tv/chromium-crosswalk,dednal/chromium.src,rogerwang/chromium,ChromiumWebApps/chromium,bright-sparks/chromium-spacewalk,pozdnyakov/chromium-crosswalk,timopulkkinen/BubbleFish,M4sse/chromium.src,patrickm/chromium.src,crosswalk-project/chromium-crosswalk-efl,robclark/chromium,markYoungH/chromium.src,Just-D/chromium-1,mohamed--abdel-maksoud/chromium.src,hgl888/chromium-crosswalk-efl,crosswalk-project/chromium-crosswalk-efl,markYoungH/chromium.src,markYoungH/chromium.src,keishi/chromium,PeterWangIntel/chromium-crosswalk,dushu1203/chromium.src,crosswalk-project/chromium-crosswalk-efl,mohamed--abdel-maksoud/chromium.src,anirudhSK/chromium,junmin-zhu/chromium-rivertrail,robclark/chromium,Just-D/chromium-1,rogerwang/chromium,axinging/chromium-crosswalk,rogerwang/chromium,mohamed--abdel-maksoud/chromium.src,bright-sparks/chromium-spacewalk,mogoweb/chromium-crosswalk,jaruba/chromium.src,dushu1203/chromium.src,hujiajie/pa-chromium,chuan9/chromium-crosswalk,markYoungH/chromium.src,ChromiumWebApps/chromium,mohamed--abdel-maksoud/chromium.src,keishi/chromium,krieger-od/nwjs_chromium.src,rogerwang/chromium,bright-sparks/chromium-spacewalk,Chilledheart/chromium,robclark/chromium,TheTypoMaster/chromium-crosswalk,fujunwei/chromium-crosswalk,Pluto-tv/chromium-crosswalk,chuan9/chromium-crosswalk,ChromiumWebApps/chromium,keishi/chromium,ltilve/chromium,Pluto-tv/chromium-crosswalk,robclark/chromium,zcbenz/cefode-chromium,ltilve/chromium,axinging/chromium-crosswalk,junmin-zhu/chromium-rivertrail,axinging/chromium-crosswalk,krieger-od/nwjs_chromium.src,junmin-zhu/chromium-rivertrail,krieger-od/nwjs_chromium.src,ondra-novak/chromium.src,Chilledheart/chromium,M4sse/chromium.src,crosswalk-project/chromium-crosswalk-efl,timopulkkinen/BubbleFish,hgl888/chromium-crosswalk-efl,hujiajie/pa-chromium,bright-sparks/chromium-spacewalk,TheTypoMaster/chromium-crosswalk,jaruba/chromium.src,ondra-novak/chromium.src,ltilve/chromium,littlstar/chromium.src,PeterWangIntel/chromium-crosswalk,ChromiumWebApps/chromium,krieger-od/nwjs_chromium.src,ChromiumWebApps/chromium,anirudhSK/chromium,zcbenz/cefode-chromium,pozdnyakov/chromium-crosswalk,hgl888/chromium-crosswalk-efl,TheTypoMaster/chromium-crosswalk,junmin-zhu/chromium-rivertrail,chuan9/chromium-crosswalk,junmin-zhu/chromium-rivertrail,ChromiumWebApps/chromium,Fireblend/chromium-crosswalk,dednal/chromium.src,junmin-zhu/chromium-rivertrail,axinging/chromium-crosswalk,bright-sparks/chromium-spacewalk,dushu1203/chromium.src,M4sse/chromium.src,keishi/chromium,robclark/chromium,hgl888/chromium-crosswalk-efl,axinging/chromium-crosswalk,keishi/chromium,littlstar/chromium.src,Fireblend/chromium-crosswalk,Just-D/chromium-1,chuan9/chromium-crosswalk,pozdnyakov/chromium-crosswalk,chuan9/chromium-crosswalk,dushu1203/chromium.src,nacl-webkit/chrome_deps,zcbenz/cefode-chromium,markYoungH/chromium.src,markYoungH/chromium.src,hgl888/chromium-crosswalk,hujiajie/pa-chromium,Pluto-tv/chromium-crosswalk,hujiajie/pa-chromium,bright-sparks/chromium-spacewalk,Pluto-tv/chromium-crosswalk,M4sse/chromium.src,hujiajie/pa-chromium,anirudhSK/chromium,robclark/chromium,TheTypoMaster/chromium-crosswalk,dushu1203/chromium.src,dednal/chromium.src,ChromiumWebApps/chromium,zcbenz/cefode-chromium,Just-D/chromium-1,anirudhSK/chromium,timopulkkinen/BubbleFish,ltilve/chromium,dednal/chromium.src,nacl-webkit/chrome_deps,littlstar/chromium.src,littlstar/chromium.src,Fireblend/chromium-crosswalk,dednal/chromium.src,nacl-webkit/chrome_deps,rogerwang/chromium,chuan9/chromium-crosswalk,patrickm/chromium.src,fujunwei/chromium-crosswalk,Fireblend/chromium-crosswalk,Chilledheart/chromium,krieger-od/nwjs_chromium.src,mogoweb/chromium-crosswalk,markYoungH/chromium.src,Fireblend/chromium-crosswalk,Chilledheart/chromium,timopulkkinen/BubbleFish,Just-D/chromium-1,PeterWangIntel/chromium-crosswalk,anirudhSK/chromium,junmin-zhu/chromium-rivertrail,mogoweb/chromium-crosswalk,markYoungH/chromium.src,fujunwei/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,patrickm/chromium.src,jaruba/chromium.src,timopulkkinen/BubbleFish,TheTypoMaster/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,jaruba/chromium.src,ondra-novak/chromium.src,dushu1203/chromium.src,mogoweb/chromium-crosswalk,hgl888/chromium-crosswalk-efl,M4sse/chromium.src,zcbenz/cefode-chromium,dednal/chromium.src,hujiajie/pa-chromium,M4sse/chromium.src,Jonekee/chromium.src,krieger-od/nwjs_chromium.src,Fireblend/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,dednal/chromium.src,rogerwang/chromium,krieger-od/nwjs_chromium.src,TheTypoMaster/chromium-crosswalk,ltilve/chromium,zcbenz/cefode-chromium,keishi/chromium,Chilledheart/chromium,hujiajie/pa-chromium,fujunwei/chromium-crosswalk,hujiajie/pa-chromium,littlstar/chromium.src,patrickm/chromium.src,Jonekee/chromium.src,ltilve/chromium,Jonekee/chromium.src,Jonekee/chromium.src,jaruba/chromium.src,mogoweb/chromium-crosswalk,anirudhSK/chromium,keishi/chromium,PeterWangIntel/chromium-crosswalk,dednal/chromium.src,dednal/chromium.src,zcbenz/cefode-chromium,nacl-webkit/chrome_deps,dednal/chromium.src,chuan9/chromium-crosswalk,mogoweb/chromium-crosswalk,dednal/chromium.src,pozdnyakov/chromium-crosswalk,axinging/chromium-crosswalk,anirudhSK/chromium,mohamed--abdel-maksoud/chromium.src,junmin-zhu/chromium-rivertrail,anirudhSK/chromium,Jonekee/chromium.src,ChromiumWebApps/chromium,anirudhSK/chromium,Jonekee/chromium.src,axinging/chromium-crosswalk,ltilve/chromium,Just-D/chromium-1,anirudhSK/chromium,bright-sparks/chromium-spacewalk,patrickm/chromium.src,robclark/chromium,zcbenz/cefode-chromium,dushu1203/chromium.src,ondra-novak/chromium.src,M4sse/chromium.src,nacl-webkit/chrome_deps,mogoweb/chromium-crosswalk,markYoungH/chromium.src,Chilledheart/chromium,dushu1203/chromium.src,hgl888/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,littlstar/chromium.src,krieger-od/nwjs_chromium.src,anirudhSK/chromium,Fireblend/chromium-crosswalk,axinging/chromium-crosswalk,fujunwei/chromium-crosswalk,hgl888/chromium-crosswalk-efl,hgl888/chromium-crosswalk-efl,markYoungH/chromium.src,keishi/chromium,mogoweb/chromium-crosswalk,pozdnyakov/chromium-crosswalk,bright-sparks/chromium-spacewalk,chuan9/chromium-crosswalk,Chilledheart/chromium,crosswalk-project/chromium-crosswalk-efl,crosswalk-project/chromium-crosswalk-efl,Chilledheart/chromium,hujiajie/pa-chromium,mogoweb/chromium-crosswalk,hgl888/chromium-crosswalk-efl,Fireblend/chromium-crosswalk,ondra-novak/chromium.src,ltilve/chromium,jaruba/chromium.src,junmin-zhu/chromium-rivertrail,jaruba/chromium.src,rogerwang/chromium,Jonekee/chromium.src,pozdnyakov/chromium-crosswalk,timopulkkinen/BubbleFish,krieger-od/nwjs_chromium.src,timopulkkinen/BubbleFish,M4sse/chromium.src,nacl-webkit/chrome_deps,Just-D/chromium-1,robclark/chromium,rogerwang/chromium,patrickm/chromium.src,ltilve/chromium,Pluto-tv/chromium-crosswalk,ondra-novak/chromium.src,pozdnyakov/chromium-crosswalk,nacl-webkit/chrome_deps,Jonekee/chromium.src,axinging/chromium-crosswalk,Pluto-tv/chromium-crosswalk,dushu1203/chromium.src,nacl-webkit/chrome_deps,zcbenz/cefode-chromium,hgl888/chromium-crosswalk-efl,ondra-novak/chromium.src,dushu1203/chromium.src,Pluto-tv/chromium-crosswalk,pozdnyakov/chromium-crosswalk,hgl888/chromium-crosswalk-efl,nacl-webkit/chrome_deps,littlstar/chromium.src,junmin-zhu/chromium-rivertrail,nacl-webkit/chrome_deps,mohamed--abdel-maksoud/chromium.src,zcbenz/cefode-chromium,jaruba/chromium.src,crosswalk-project/chromium-crosswalk-efl,TheTypoMaster/chromium-crosswalk,ondra-novak/chromium.src,dushu1203/chromium.src,axinging/chromium-crosswalk,Chilledheart/chromium,hgl888/chromium-crosswalk,patrickm/chromium.src,zcbenz/cefode-chromium,Just-D/chromium-1,keishi/chromium,keishi/chromium,hujiajie/pa-chromium,Just-D/chromium-1,patrickm/chromium.src,PeterWangIntel/chromium-crosswalk,ChromiumWebApps/chromium,krieger-od/nwjs_chromium.src,hgl888/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,timopulkkinen/BubbleFish,keishi/chromium,markYoungH/chromium.src,chuan9/chromium-crosswalk,bright-sparks/chromium-spacewalk,mohamed--abdel-maksoud/chromium.src,Jonekee/chromium.src,fujunwei/chromium-crosswalk,fujunwei/chromium-crosswalk,robclark/chromium,ondra-novak/chromium.src,patrickm/chromium.src,M4sse/chromium.src,Fireblend/chromium-crosswalk,krieger-od/nwjs_chromium.src,hgl888/chromium-crosswalk,timopulkkinen/BubbleFish,anirudhSK/chromium,rogerwang/chromium,robclark/chromium,hgl888/chromium-crosswalk,M4sse/chromium.src,mogoweb/chromium-crosswalk,pozdnyakov/chromium-crosswalk,Pluto-tv/chromium-crosswalk,pozdnyakov/chromium-crosswalk,axinging/chromium-crosswalk,jaruba/chromium.src,PeterWangIntel/chromium-crosswalk,Jonekee/chromium.src,Jonekee/chromium.src,nacl-webkit/chrome_deps,jaruba/chromium.src,hgl888/chromium-crosswalk,timopulkkinen/BubbleFish