Browse Source

ifdef naming fix.

Adam Ierymenko 10 years ago
parent
commit
838fdf4d11
1 changed files with 5 additions and 5 deletions
  1. 5 5
      osdep/PortMapper.hpp

+ 5 - 5
osdep/PortMapper.hpp

@@ -25,11 +25,11 @@
  * LLC. Start here: http://www.zerotier.com/
  * LLC. Start here: http://www.zerotier.com/
  */
  */
 
 
-#ifndef ZT_UPNPCLIENT_HPP
-#define ZT_UPNPCLIENT_HPP
-
 #ifdef ZT_USE_MINIUPNPC
 #ifdef ZT_USE_MINIUPNPC
 
 
+#ifndef ZT_PORTMAPPER_HPP
+#define ZT_PORTMAPPER_HPP
+
 #include <vector>
 #include <vector>
 
 
 #include "../node/Constants.hpp"
 #include "../node/Constants.hpp"
@@ -75,6 +75,6 @@ private:
 
 
 } // namespace ZeroTier
 } // namespace ZeroTier
 
 
-#endif // ZT_USE_MINIUPNPC
-
 #endif
 #endif
+
+#endif // ZT_USE_MINIUPNPC