master: Fix win32 build
stassats via Sbcl-commits <[email protected]>
| Newsgroups | gmane.lisp.steel-bank.cvs |
|---|---|
| Message-ID | <[email protected]> |
The branch "master" has been updated in SBCL:
via 2afb32633b8e53c95d4268b26817a61a4ec2a891 (commit)
from 15976f48328e594d6e4df22c4ae305934744aa72 (commit)
- Log -----------------------------------------------------------------
commit 2afb32633b8e53c95d4268b26817a61a4ec2a891
Author: Stas Boukarev <[email protected]>
Date: Fri Apr 10 16:24:29 2026 +0300
Fix win32 build
---
src/runtime/main.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/runtime/main.c b/src/runtime/main.c
index 6c6ec2ee1..ea9ae0bbf 100644
--- a/src/runtime/main.c
+++ b/src/runtime/main.c
@@ -1,7 +1,11 @@
#include "interr.h"
#include <stdio.h>
-int __attribute__((weak)) main(int argc, char *argv[], char *envp[])
+int
+#if !(defined LISP_FEATURE_WIN32 && !defined __clang__)
+__attribute__((weak))
+#endif
+main(int argc, char *argv[], char *envp[])
{
extern int initialize_lisp(int argc, char *argv[], char *envp[]);
#ifdef TRACE_MMAP_SYSCALLS
-----------------------------------------------------------------------
hooks/post-receive
--
SBCL