Skip to content

Commit e8a26da

Browse files
committed
trial revert of windows fix
Signed-off-by: Byoungro So <[email protected]>
1 parent e8be632 commit e8a26da

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

sycl/source/detail/global_handler.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,7 @@ void shutdown() {
102102
}
103103

104104
#ifdef _WIN32
105-
extern "C" __SYCL_EXPORT BOOL WINAPI DllMain(HINSTANCE hinstDLL,
106-
DWORD fdwReason,
107-
LPVOID lpReserved) {
105+
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved) {
108106
// Perform actions based on the reason for calling.
109107
switch (fdwReason) {
110108
case DLL_PROCESS_DETACH:

0 commit comments

Comments
 (0)