diff --git a/scp.c b/scp.c
index 73262fadd8f85c347ce7a2ba002e83c2c37d0451..9cdf21d5b3f01bc86744586734bebce4f4159339 100644
--- a/scp.c
+++ b/scp.c
@@ -672,7 +672,7 @@ next:			if (fd != -1) {
 			}
 			continue;
 		}
-#if PROGRESS_METER
+#ifdef PROGRESS_METER
 		if (showprogress)
 			start_progress_meter(curfile, stb.st_size, &statbytes);
 #endif