X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/1347f3d1e04bedd1508589173f577673ee2c5554..9c340da9ffa670c20c3658a2be43d35868a9f5d9:/stglibs/pinger.lib/include/stg/pinger.h diff --git a/stglibs/pinger.lib/include/stg/pinger.h b/stglibs/pinger.lib/include/stg/pinger.h index b25f6847..f31cc270 100644 --- a/stglibs/pinger.lib/include/stg/pinger.h +++ b/stglibs/pinger.lib/include/stg/pinger.h @@ -18,7 +18,7 @@ #include #endif -#if defined (FREE_BSD) || defined (FREE_BSD5) +#if defined (FREE_BSD) || defined (FREE_BSD5) || defined(DARWIN) #include #include #include @@ -87,7 +87,7 @@ public: typedef std::multimap PingIPs; typedef PingIPs::size_type SizeType; - STG_PINGER(time_t delay = 15); + explicit STG_PINGER(time_t delay = 15); ~STG_PINGER(); int Start();