Skip to content

Commit 6531ea1

Browse files
committed
🛠️ unbalanced #if/def
1 parent 5e1d1b3 commit 6531ea1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/ztd/thread/threads.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,13 @@ typedef
175175
#if ZTD_IS_OFF(ZTD_HEADER_THREADS_H)
176176
pthread_t
177177
#else
178-
#if ZTD_IS_ON(ZTD_PLATFORM_MACOS)
178+
#if ZTD_IS_ON(ZTD_PLATFORM_MAC_OS)
179179
void*
180180
#else
181181
unsigned long
182182
#endif
183+
#endif
184+
#else
183185
#error "Unknown platform."
184186
#endif
185187
__ztdc_thrd_native_handle_t;

0 commit comments

Comments
 (0)