[openrtm-commit:02158] r2810 - trunk/OpenRTM-aist/src/lib/rtm
openrtm @ openrtm.org
openrtm @ openrtm.org
2016年 12月 7日 (水) 13:09:01 JST
Author: kawauchi
Date: 2016-12-07 13:09:01 +0900 (Wed, 07 Dec 2016)
New Revision: 2810
Modified:
trunk/OpenRTM-aist/src/lib/rtm/Makefile.am
Log:
[compat,->RELENG_1_2] Include guard has been added to version.h. refs #3734
Modified: trunk/OpenRTM-aist/src/lib/rtm/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/Makefile.am 2016-12-06 08:33:15 UTC (rev 2809)
+++ trunk/OpenRTM-aist/src/lib/rtm/Makefile.am 2016-12-07 04:09:01 UTC (rev 2810)
@@ -19,9 +19,14 @@
echo '// This header file is automatically generated.' > $@
echo '// Do not edit this file.' >> $@
echo '' >> $@
+ echo '#ifndef INCLUDE_GUARD_VERSION_H' >> $@
+ echo '#define INCLUDE_GUARD_VERSION_H' >> $@
+ echo '' >> $@
echo 'static const char* openrtm_name = "'${PACKAGE}'-'${VERSION}'";' >> $@
echo 'static const char* openrtm_version = "'${VERSION}'";' >> $@
echo 'static const char* corba_name = "'${ORB}'";' >> $@
+ echo '' >> $@
+ echo '#endif // INCLUDE_GUARD_VERSION_H' >> $@
version.txt:
echo 'name = '${PACKAGE}'-'${VERSION} >> $@
More information about the openrtm-commit
mailing list