mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-25 18:47:23 +08:00
14 lines
256 B
C
14 lines
256 B
C
|
#ifndef __LINUX_COMPLETION_H__
|
||
|
#define __LINUX_COMPLETION_H__
|
||
|
|
||
|
#if defined (__GNUC__)
|
||
|
struct completion { } ;
|
||
|
#elif defined (MSVC)
|
||
|
struct completion {int no; } ;
|
||
|
#else
|
||
|
#error "please use a right C compiler"
|
||
|
#endif
|
||
|
|
||
|
#endif /* __LINUX_COMPLETION_H__ */
|
||
|
|