summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2017-06-23 11:03:55 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2017-06-23 11:06:37 +0200
commitea809df904dc3c59a23e0becf27681b6ecfe794f (patch)
tree9dac9ac71fbff5474a31b3d76587e989d0a5c952 /src
parent40e629bd66e0fde9ca810f8f42e12d07051e665c (diff)
serial.c: Use pragma message instead of warning
Change-Id: I65b1ef6e4b9ba0bf0c3c2f03311250f31ddb308a
Diffstat (limited to 'src')
-rw-r--r--src/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serial.c b/src/serial.c
index dddad886..8ddd38e8 100644
--- a/src/serial.c
+++ b/src/serial.c
@@ -202,7 +202,7 @@ osmo_serial_set_custom_baudrate(int fd, int baudrate)
}
return 0;
#else
-#warning osmo_serial_set_custom_baudrate: unsupported platform
+#pragma message ("osmo_serial_set_custom_baudrate: unsupported platform")
return 0;
#endif
}