Selaa lähdekoodia

Hide warning about readdir_r for now.

Adam Ierymenko 2 vuotta sitten
vanhempi
commit
ebc1ed4015
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4 0
      osdep/OSUtils.cpp

+ 4 - 0
osdep/OSUtils.cpp

@@ -43,6 +43,10 @@
 
 #include "OSUtils.hpp"
 
+#ifdef __GCC__
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+#endif
+
 namespace ZeroTier {
 
 unsigned int OSUtils::ztsnprintf(char *buf,unsigned int len,const char *fmt,...)