]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Oopsie with threading.h
authorVictor Zhang <csv@meta.com>
Wed, 18 Dec 2024 02:37:33 +0000 (18:37 -0800)
committerVictor Zhang <csv@meta.com>
Wed, 18 Dec 2024 02:37:33 +0000 (18:37 -0800)
lib/common/threading.h

index 25448548d095864ee2532f60e8aa4e371e5e8dba..85b6a3ac82387fb5135cf6811850aba4301b63f9 100644 (file)
@@ -140,7 +140,6 @@ int ZSTD_pthread_cond_destroy(ZSTD_pthread_cond_t* cond);
 #else  /* ZSTD_MULTITHREAD not defined */
 /* No multithreading support */
 
-
 #if defined (__cplusplus)
 extern "C" {
 #endif
@@ -160,10 +159,11 @@ typedef int ZSTD_pthread_cond_t;
 
 /* do not use ZSTD_pthread_t */
 
-#endif /* ZSTD_MULTITHREAD */
-
 #if defined (__cplusplus)
 }
 #endif
 
+#endif /* ZSTD_MULTITHREAD */
+
+
 #endif /* THREADING_H_938743 */