History

correct a DllMain() declaration in dllcrt1.c and dllmain.c There is a DllMain() declaration in the mingw-runtime-4.0.3.1 and it differs from a tcc one.

seyko committed 11 years ago

Commit b8925961 parent 7b96ddd2 files · +3 −3Browse files

Unified · Split

2 files
  1. win32/lib/dllcrt1.c +2 −2
  2. win32/lib/dllmain.c +1 −1
win32/lib/dllcrt1.c+2−2
@@ -2,9 +2,9 @@ · 1 unmodified line
2 2
3#include <windows.h>3#include <windows.h>
4 4
5BOOL WINAPI DllMain (HANDLE hDll, DWORD dwReason, LPVOID lpReserved);5BOOL WINAPI DllMain (HINSTANCE hDll, DWORD dwReason, LPVOID lpReserved);
6 6
7BOOL WINAPI _dllstart(HANDLE hDll, DWORD dwReason, LPVOID lpReserved)7BOOL WINAPI _dllstart(HINSTANCE hDll, DWORD dwReason, LPVOID lpReserved)
8{8{
9 BOOL bRet;9 BOOL bRet;
10 bRet = DllMain (hDll, dwReason, lpReserved);10 bRet = DllMain (hDll, dwReason, lpReserved);
win32/lib/dllmain.c+1−1
@@ -2,7 +2,7 @@ · 1 unmodified line
2 2
3#include <windows.h>3#include <windows.h>
4 4
5BOOL WINAPI DllMain (HANDLE hDll, DWORD dwReason, LPVOID lpReserved)5BOOL WINAPI DllMain (HINSTANCE hDll, DWORD dwReason, LPVOID lpReserved)
6{6{
7 return TRUE;7 return TRUE;
8}8}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t