]> www.wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - test_digest.c
MSVC: Ifdef GCC pragmas
[openssl-gost/engine.git] / test_digest.c
index b9c48810abe8b1357bd6210aa24d00c77485ef20..a931a3509d577dacb0917d06185ac25c4230b5bc 100644 (file)
             else \
                 printf(cGREEN "  Test passed" cNORM "\n");}
 
+#ifdef __GNUC__
 /* To test older APIs. */
-#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+#endif
 
 /*
  * Test keys from both GOST R 34.12-2015 and GOST R 34.13-2015,