[Freeswitch-svn] [commit] r11501 - freeswitch/trunk/libs/esl/src/include

FreeSWITCH SVN mrene at freeswitch.org
Mon Jan 26 19:07:20 PST 2009


Author: mrene
Date: Mon Jan 26 21:07:20 2009
New Revision: 11501

Log:
its __cplusplus not _cplusplus

Modified:
   freeswitch/trunk/libs/esl/src/include/esl.h
   freeswitch/trunk/libs/esl/src/include/esl_config.h
   freeswitch/trunk/libs/esl/src/include/esl_event.h
   freeswitch/trunk/libs/esl/src/include/esl_threadmutex.h

Modified: freeswitch/trunk/libs/esl/src/include/esl.h
==============================================================================
--- freeswitch/trunk/libs/esl/src/include/esl.h	(original)
+++ freeswitch/trunk/libs/esl/src/include/esl.h	Mon Jan 26 21:07:20 2009
@@ -36,9 +36,9 @@
 
 #include <stdarg.h>
 
-#ifdef _cplusplus
+#ifdef __cplusplus
 extern "C" {
-#endif /* defined(_cplusplus) */
+#endif /* defined(__cplusplus) */
 
 #define esl_copy_string(_x, _y, _z) strncpy(_x, _y, _z - 1)
 #define esl_set_string(_x, _y) esl_copy_string(_x, _y, sizeof(_x))
@@ -341,9 +341,9 @@
 #define esl_recv_timed(_h, _ms) esl_recv_event_timed(_h, _ms, NULL)
 
 
-#ifdef _cplusplus
+#ifdef __cplusplus
 }
-#endif /* defined(_cplusplus) */
+#endif /* defined(__cplusplus) */
 
 
 #endif /* defined(_ESL_H_) */

Modified: freeswitch/trunk/libs/esl/src/include/esl_config.h
==============================================================================
--- freeswitch/trunk/libs/esl/src/include/esl_config.h	(original)
+++ freeswitch/trunk/libs/esl/src/include/esl_config.h	Mon Jan 26 21:07:20 2009
@@ -54,9 +54,9 @@
 
 #include "esl.h"
 
-#ifdef _cplusplus
+#ifdef __cplusplus
 extern "C" {
-#endif /* defined(_cplusplus) */
+#endif /* defined(__cplusplus) */
 
 
 #define ESL_URL_SEPARATOR "://"
@@ -160,9 +160,9 @@
 
 /** @} */
 
-#ifdef _cplusplus
+#ifdef __cplusplus
 }
-#endif /* defined(_cplusplus) */
+#endif /* defined(__cplusplus) */
 
 #endif /* defined(ESL_CONFIG_H) */
 

Modified: freeswitch/trunk/libs/esl/src/include/esl_event.h
==============================================================================
--- freeswitch/trunk/libs/esl/src/include/esl_event.h	(original)
+++ freeswitch/trunk/libs/esl/src/include/esl_event.h	Mon Jan 26 21:07:20 2009
@@ -36,9 +36,9 @@
 
 #include <esl.h>
 
-#ifdef _cplusplus
+#ifdef __cplusplus
 extern "C" {
-#endif /* defined(_cplusplus) */
+#endif /* defined(__cplusplus) */
 
 typedef enum {
 	ESL_STACK_BOTTOM,
@@ -272,9 +272,9 @@
 
 ///\}
 
-#ifdef _cplusplus
+#ifdef __cplusplus
 }
-#endif /* defined(_cplusplus) */
+#endif /* defined(__cplusplus) */
 
 #endif /* defined(ESL_EVENT_H) */
 

Modified: freeswitch/trunk/libs/esl/src/include/esl_threadmutex.h
==============================================================================
--- freeswitch/trunk/libs/esl/src/include/esl_threadmutex.h	(original)
+++ freeswitch/trunk/libs/esl/src/include/esl_threadmutex.h	Mon Jan 26 21:07:20 2009
@@ -23,9 +23,9 @@
 
 #include "esl.h"
 
-#ifdef _cplusplus
+#ifdef __cplusplus
 extern "C" {
-#endif /* defined(_cplusplus) */
+#endif /* defined(__cplusplus) */
 
 typedef struct esl_mutex esl_mutex_t;
 typedef struct esl_thread esl_thread_t;
@@ -40,9 +40,9 @@
 ESL_DECLARE(esl_status_t) esl_mutex_trylock(esl_mutex_t *mutex);
 ESL_DECLARE(esl_status_t) esl_mutex_unlock(esl_mutex_t *mutex);
 
-#ifdef _cplusplus
+#ifdef __cplusplus
 }
-#endif /* defined(_cplusplus) */
+#endif /* defined(__cplusplus) */
 
 #endif /* defined(_ESL_THREADMUTEX_H) */
 



More information about the Freeswitch-svn mailing list