浏览代码

[modify] those file name is risky if you use both "c++" and "POSIX pthread".

liuxianliang 3 年之前
父节点
当前提交
9f2616e323

+ 1 - 1
components/cplusplus/cxx_Mutex.cpp

@@ -7,7 +7,7 @@
  * Date           Author       Notes
  */
 
-#include "Mutex.h"
+#include "cxx_mutex.h"
 
 using namespace rtthread;
 

+ 1 - 1
components/cplusplus/cxx_Semaphore.cpp

@@ -7,7 +7,7 @@
  * Date           Author       Notes
  */
 
-#include "Semaphore.h"
+#include "cxx_semaphore.h"
 
 using namespace rtthread;
 

+ 1 - 1
components/cplusplus/cxx_Thread.cpp

@@ -7,7 +7,7 @@
  * Date           Author       Notes
  */
 
-#include "Thread.h"
+#include "cxx_thread.h"
 
 using namespace rtthread;
 

+ 1 - 1
components/cplusplus/cxx_crt.cpp

@@ -9,7 +9,7 @@
  */
 
 #include <rtthread.h>
-#include "crt.h"
+#include "cxx_crt.h"
 
 void *operator new(size_t size)
 {

+ 0 - 0
components/cplusplus/crt.h → components/cplusplus/cxx_crt.h


+ 0 - 0
components/cplusplus/crt_init.c → components/cplusplus/cxx_crt_init.c


+ 0 - 0
components/cplusplus/Lock.h → components/cplusplus/cxx_lock.h


+ 0 - 0
components/cplusplus/Mail.h → components/cplusplus/cxx_mail.h


+ 0 - 0
components/cplusplus/Mutex.h → components/cplusplus/cxx_mutex.h


+ 0 - 0
components/cplusplus/Queue.h → components/cplusplus/cxx_queue.h


+ 0 - 0
components/cplusplus/Semaphore.h → components/cplusplus/cxx_semaphore.h


+ 0 - 0
components/cplusplus/Thread.h → components/cplusplus/cxx_thread.h