Skip to content

Commit b3080e1

Browse files
authored
Merge pull request #1 from ChenPi11/main
2023/3/26 1.0.1 Add Haiku OS support
2 parents dca2b53 + fcdbb7e commit b3080e1

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

include/lpplat.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
#define __has_ecos__ 0
3232
/*no EMX Environment*/
3333
#define __has_emx__ 0
34+
/*no Haiku*/
35+
#define __has_haiku__ 0
3436
/*no HI-UX MPP*/
3537
#define __has_hiux_mpp__ 0
3638
/*no HP-US*/
@@ -192,6 +194,10 @@
192194
/*has EMX Environment*/
193195
#define __has_emx__ 1
194196
#endif
197+
#if defined(__HAIKU__)
198+
/*has Haiku*/
199+
#define __has_haiku__ 1
200+
#endif
195201
#if defined(__hiuxmpp)
196202
#undef __has_hiux_mpp__
197203
/*has HI-UX MPP*/

include/title.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* @copyright Copyright (C) 2023
55
* @date 2023-2-18
66
* @brief libplatform
7-
* @version 1.0.0
7+
* @version 1.0.1
88
* @see https://sourceforge.net/p/predef/wiki/Home/
99
* @link https://github.com/ChenPi12/libplatform.git
1010
*/

0 commit comments

Comments
 (0)