From 548d7688c74b2a18cc43454e12f4b9df50b6a2d5 Mon Sep 17 00:00:00 2001 From: Mario Emmenlauer Date: Sat, 7 Apr 2018 14:10:38 +0200 Subject: [PATCH] samples/geotag.cpp: fixed debugging code to be in the correct ifdef --- samples/geotag.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/geotag.cpp b/samples/geotag.cpp index 84ebe1f3..6d549ddb 100644 --- a/samples/geotag.cpp +++ b/samples/geotag.cpp @@ -420,13 +420,13 @@ int timeZoneAdjust() #else struct tm local = *localtime(&now) ; offset = local.tm_gmtoff ; -#endif #if DEBUG struct tm utc = *gmtime(&now); printf("utc : offset = %6d dst = %d time = %s", 0 ,utc .tm_isdst, asctime(&utc )); printf("local: offset = %6d dst = %d time = %s", offset,local.tm_isdst, asctime(&local)); printf("timeZoneAdjust = %6d\n",offset); +#endif #endif return offset ; }