summarylogtreecommitdiffstats
path: root/config.patch
blob: c0a3f5002cdde7e9f071673addb152660db38411 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Set __FRC_ROBORIO_ in platform config
Author: WPILib Developers <wpilib@wpi.edu>

---

--- gcc-5.5.0/gcc/config/linux.h
+++ gcc-5.5.0/gcc/config/linux.h
@@ -42,6 +42,7 @@
     do {							\
 	if (OPTION_GLIBC)					\
 	  builtin_define ("__gnu_linux__");			\
+	builtin_define ("__FRC_ROBORIO__");			\
 	builtin_define_std ("linux");				\
 	builtin_define_std ("unix");				\
 	builtin_assert ("system=linux");			\