arduino: hotfix preprocessor macro else vs elsif
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Mon, 19 Dec 2016 20:17:24 +0000 (21:17 +0100)
committerPhil Coval <philippe.coval@osg.samsung.com>
Tue, 20 Dec 2016 19:36:00 +0000 (19:36 +0000)
Change-Id: Ie8a0aceab32130335c3cd471be5ec8b8bfd8cddc
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15811
Reviewed-by: Kevin Kane <kkane@microsoft.com>
(cherry picked from commit e74f0f118b9370b4ee9ec8708d2fe49a4b265286)
Reviewed-on: https://gerrit.iotivity.org/gerrit/15839
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
resource/c_common/ocrandom/src/ocrandom.c

index b41056a..3290de6 100644 (file)
@@ -77,7 +77,7 @@
 #if !defined(ARDUINO_ARCH_SAM)
 #define OC_arduino_srandom_function srandom
 #define OC_arduino_random_function random
-#elif
+#else
 #define OC_arduino_srandom_function srand
 #define OC_arduino_random_function rand
 #endif