Skip to content

Commit 8defba4

Browse files
committed
revert merge commit 'd4e0d95cf581f50c9a21d06eaecae2dd580076bd'
1 parent 9dc4826 commit 8defba4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ggml/src/ggml-cpu/ggml-cpu-impl.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -518,14 +518,11 @@ void ggml_barrier(struct ggml_threadpool * tp);
518518
#elif defined(__GNUC__)
519519
// GCC/Clang on *nix
520520
# define GGML_WEAK_ALIAS(name, alias) GGML_DO_PRAGMA(weak name = alias) // NOLINT
521-
#elif defined(_MSC_VER) && defined(_WIN64)
521+
#elif defined(_MSC_VER) && defined (_WIN64)
522522
// MSVC
523523
// Note: C name mangling varies across different calling conventions
524524
// see https://learn.microsoft.com/en-us/cpp/build/reference/decorated-names?view=msvc-170
525525
# define GGML_WEAK_ALIAS(name, alias) GGML_DO_PRAGMA(comment(linker, "/alternatename:" #name "=" #alias))
526-
#elif defined(_MSC_VER) && defined(WIN32)
527-
// ref: https://github.com/ggml-org/whisper.cpp/pull/3239#issuecomment-2958224591
528-
# define GGML_WEAK_ALIAS(name, alias) GGML_DO_PRAGMA(comment(linker, "/alternatename:_" #name "=_" #alias))
529526
#else
530527
# error "Unsupported compiler for GGML_WEAK_ALIAS"
531528
#endif

0 commit comments

Comments
 (0)