diff --git a/psys/include/p2c/p2c.h b/psys/include/p2c/p2c.h
index 5a41feb213d29062becf560f86412585f183264f..4de75abc5a0decd685b6eddded785a0f81c237b1 100644
--- a/psys/include/p2c/p2c.h
+++ b/psys/include/p2c/p2c.h
@@ -209,7 +209,7 @@ typedef struct {
 #define P_min(a,b)   ((a) < (b) ? (a) : (b))
 
 /* Funcition for compiler warnings*/
-#ifdef __GCC__
+#ifdef __GNUC__
 #define DEPRECATED __attribute__((deprecated))
 #else
 /**