{"provider_url":"https://hatena.blog","version":"1.0","categories":["20.Programming","20.Programming-C++","C++"],"width":"100%","image_url":null,"author_url":"https://blog.hatena.ne.jp/nullpo24/","title":"\u898b\u306b\u304f\u3044Windows\u3068Linux\u306e\u30b3\u30fc\u30c9\u306e\u5171\u901a\u5316","author_name":"nullpo24","height":"190","published":"2020-08-02 13:53:35","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnullpo24.hatenablog.com%2Fentry%2F2020%2F08%2F02%2F135335\" title=\"\u898b\u306b\u304f\u3044Windows\u3068Linux\u306e\u30b3\u30fc\u30c9\u306e\u5171\u901a\u5316 - \u3075\u308b\u304a\u301c\u3068\uff01\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u3075\u308b\u304a\u301c\u3068\uff01","url":"https://nullpo24.hatenablog.com/entry/2020/08/02/135335","blog_url":"https://nullpo24.hatenablog.com/","type":"rich","description":"\u540c\u4e00\u306eAPI\u3092\u63d0\u4f9b\u3059\u308b\u306b\u3042\u305f\u3063\u3066\u3001Windows\u3068Linux\u3092\u5225\u3005\u306b\u4f5c\u6210\u3059\u308b\u306e\u306f\u3081\u3093\u3069\u304f\u3055\u3044\u3057\u3001\u5de5\u6570\u3082\u304b\u304b\u308b\u3002 \u3068\u3044\u3046\u308f\u3051\u3067\u3001Windows\u3068Linux\u306e\u30b3\u30fc\u30c9\u3092\u5171\u901a\u5316\u3057\u3066\u958b\u767a\u5de5\u6570\u3092\u524a\u6e1b\u3057\u3088\u3046\u3002 \u305d\u3046\u3057\u3066\u51fa\u6765\u4e0a\u304c\u3063\u3066\u3044\u305f\u306e\u306f\u3053\u3093\u306a\u611f\u3058\u306e\u30b3\u30fc\u30c9\u3067\u3042\u308b\u3002 hogeFunction() { #ifdef __linux__ //linux code #elif _WIN32 // windows code #else #ifdef __linux__ //linux code #elif _WIN32 // windows code #else #ifdef __linux__ //linux co\u2026"}