cnping

Minimal Graphical Ping Tool
git clone https://git.sinitax.com/cnlohr/cnping
Log | Files | Refs | Submodules | README | LICENSE | sfeed.txt

commit 94a6eba48c6e27cc0a243b7515b66a76ba63054c
parent 81d7465fb65d23371c8bc333ce628f8e0fe383fb
Author: CNLohr <charles@cnlohr.com>
Date:   Wed, 21 Jun 2017 10:48:49 -0400

Update ping.h
Diffstat:
Mping.h | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/ping.h b/ping.h @@ -27,7 +27,11 @@ void ping_setup(); #ifdef WIN32 extern char errbuffer[1024]; +#ifndef _MSC_VER #define ERRM(x...) { sprintf( errbuffer, x ); MessageBox( 0, errbuffer, "cnping", 0 ); } +#else +#define ERRM(...) { sprintf( errbuffer, __VA_ARGS__ ); MessageBox( 0, errbuffer, "cnping", 0 ); } +#endif #else