From eed76526d600ec60d80f76f57fac9b19d50169db Mon Sep 17 00:00:00 2001 From: MarkRivers Date: Thu, 11 Nov 2010 12:05:14 +0000 Subject: [PATCH] Handle C++ correctly --- motorApp/NewportSrc/strtok_r.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/motorApp/NewportSrc/strtok_r.h b/motorApp/NewportSrc/strtok_r.h index 0695d97e..82f2cc04 100644 --- a/motorApp/NewportSrc/strtok_r.h +++ b/motorApp/NewportSrc/strtok_r.h @@ -1,2 +1,9 @@ /* strtok_r prototype */ +#ifdef __cplusplus +extern "C" +{ +#endif char* strtok_r(char *, const char *, char **); +#ifdef __cplusplus +} +#endif