aqhome: Added test for serial interface, added api.h.
This commit is contained in:
50
aqhome/api.h
Normal file
50
aqhome/api.h
Normal file
@@ -0,0 +1,50 @@
|
||||
/****************************************************************************
|
||||
* This file is part of the project AqHome.
|
||||
* AqHome (c) by 2023 Martin Preuss, all rights reserved.
|
||||
*
|
||||
* The license for this file can be found in the file COPYING which you
|
||||
* should have received along with this file.
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef AQH_API_H
|
||||
#define AQH_API_H
|
||||
|
||||
|
||||
|
||||
# ifdef BUILDING_AQHOME
|
||||
# /* building AqHome */
|
||||
# if AQHOME_SYS_IS_WINDOWS
|
||||
# /* for windows */
|
||||
# ifdef __declspec
|
||||
# define AQHOME_API __declspec (dllexport)
|
||||
# else /* if __declspec */
|
||||
# define AQHOME_API
|
||||
# endif /* if NOT __declspec */
|
||||
# else
|
||||
# /* for non-win32 */
|
||||
# ifdef GCC_WITH_VISIBILITY_ATTRIBUTE
|
||||
# define AQHOME_API __attribute__((visibility("default")))
|
||||
# else
|
||||
# define AQHOME_API
|
||||
# endif
|
||||
# endif
|
||||
# else
|
||||
# /* not building AqHome */
|
||||
# if AQHOME_SYS_IS_WINDOWS
|
||||
# /* for windows */
|
||||
# ifdef __declspec
|
||||
# define AQHOME_API __declspec (dllimport)
|
||||
# else /* if __declspec */
|
||||
# define AQHOME_API
|
||||
# endif /* if NOT __declspec */
|
||||
# else
|
||||
# /* for non-win32 */
|
||||
# define AQHOME_API
|
||||
# endif
|
||||
# endif
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user