applied patch #1164307 - Fixes to allow building Contrib/ on debian (minus Makefiles)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3923 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
38b94f19a5
commit
ccf2bb96a5
15 changed files with 29 additions and 29 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <windows.h>
|
||||
#include <windowsx.h>
|
||||
#include "..\exdll\exdll.h"
|
||||
#include "../ExDLL/exdll.h"
|
||||
|
||||
HINSTANCE g_hInstance;
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include <windows.h>
|
||||
#include "../exdll/exdll.h"
|
||||
#include "../ExDLL/exdll.h"
|
||||
#include "../../Source/exehead/resource.h"
|
||||
|
||||
// Turn a pair of chars into a word
|
||||
|
@ -168,4 +168,4 @@ unsigned int myatoi(char *s)
|
|||
v+=c;
|
||||
}
|
||||
return v;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include <Windows.h>
|
||||
#include <Mmsystem.h>
|
||||
#include "../exdll/exdll.h"
|
||||
#include <windows.h>
|
||||
#include <mmsystem.h>
|
||||
#include "../ExDLL/exdll.h"
|
||||
|
||||
#undef EXDLL_INIT
|
||||
|
||||
|
@ -648,4 +648,4 @@ BOOL WINAPI DllMain(HINSTANCE hInst, ULONG ul_reason_for_call, LPVOID lpReserved
|
|||
break;
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include <WinInet.h>
|
||||
#include <wininet.h>
|
||||
|
||||
#include "../exdll/exdll.h"
|
||||
#include "../ExDLL/exdll.h"
|
||||
|
||||
#define NSISFunction(funcname) void __declspec(dllexport) funcname(HWND hwndParent, int string_size, char *variables, stack_t **stacktop)
|
||||
|
||||
|
@ -57,4 +57,4 @@ NSISFunction(AutodialHangup) {
|
|||
else
|
||||
pushstring("failure");
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,10 +12,10 @@
|
|||
#include <commdlg.h>
|
||||
#include <cderr.h>
|
||||
#include "resource.h"
|
||||
#include "Shellapi.h"
|
||||
#include "shellapi.h"
|
||||
|
||||
#define popstring dontuseme
|
||||
#include "../exdll/exdll.h"
|
||||
#include "../ExDLL/exdll.h"
|
||||
#undef popstring
|
||||
|
||||
// Use for functions only called from one place to possibly reduce some code
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
// LangDLL:LangDialog "Language Selection" "Choose a language" 2F French 1036 English 1033 12 Garamond
|
||||
|
||||
|
||||
#include "../exdll/exdll.h"
|
||||
#include "../ExDLL/exdll.h"
|
||||
|
||||
int myatoi(char *s);
|
||||
|
||||
|
@ -160,4 +160,4 @@ int myatoi(char *s)
|
|||
v+=c;
|
||||
}
|
||||
return (int)v;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
#include <windows.h>
|
||||
#include "../../exdll/exdll.h"
|
||||
#include "../../ExDLL/exdll.h"
|
||||
|
||||
#define NSISFunction(funcname) extern "C" void __declspec(dllexport) funcname(HWND hwndParent, int string_size, char *variables, stack_t **stacktop)
|
||||
|
||||
|
@ -120,4 +120,4 @@ NSISFunction(GetLibVersion) {
|
|||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#define MAKENSISW_CPP
|
||||
|
||||
#include <windows.h>
|
||||
#include <WindowsX.h>
|
||||
#include <windowsx.h>
|
||||
#include <stdio.h>
|
||||
#include "makensisw.h"
|
||||
#include "resource.h"
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include "netinc.h"
|
||||
#include "util.h"
|
||||
#include "httpget.h"
|
||||
#include "../exdll/exdll.h"
|
||||
#include "../ExDLL/exdll.h"
|
||||
|
||||
void *operator new( unsigned int num_bytes )
|
||||
{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include <windows.h>
|
||||
#include "../exdll/exdll.h"
|
||||
#include "../ExDLL/exdll.h"
|
||||
|
||||
HINSTANCE g_hInstance;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include <windows.h>
|
||||
#include <shlobj.h>
|
||||
#include "../exdll/exdll.h"
|
||||
#include "../ExDLL/exdll.h"
|
||||
#include "resource.h"
|
||||
|
||||
HINSTANCE g_hInstance;
|
||||
|
@ -433,4 +433,4 @@ void AddFolderFromReg(int nFolder)
|
|||
} while (FindNextFile(hSearch, &FileData));
|
||||
FindClose(hSearch);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
// ui.cpp : Defines the entry point for the application.
|
||||
//
|
||||
|
||||
#include <Windows.h>
|
||||
#include <CommCtrl.h>
|
||||
#include <windows.h>
|
||||
#include <commctrl.h>
|
||||
#include "resource.h"
|
||||
|
||||
HINSTANCE g_hInstance;
|
||||
|
@ -95,4 +95,4 @@ int APIENTRY WinMain(HINSTANCE hInstance,
|
|||
ExitProcess(0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include <windows.h>
|
||||
#include "..\exdll\exdll.h"
|
||||
#include "../ExDLL/exdll.h"
|
||||
|
||||
void __declspec(dllexport) GetName(HWND hwndParent, int string_size,
|
||||
char *variables, stack_t **stacktop)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include "..\..\..\ExDLL\exdll.h"
|
||||
#include "../../../ExDLL/exdll.h"
|
||||
|
||||
int DoPatch(HANDLE hPatch, HANDLE hSource, HANDLE hDest);
|
||||
void strcopy(char *tgt, const char *src);
|
||||
|
@ -107,7 +107,7 @@ BOOL WINAPI DllMain(HANDLE hInst, ULONG ul_reason_for_call, LPVOID lpReserved)
|
|||
UINT CRCTable[256];
|
||||
BOOL bInitCRC = FALSE;
|
||||
|
||||
_inline void InitCRC() {
|
||||
inline void InitCRC() {
|
||||
int i, j; unsigned long c;
|
||||
for (c = i = 0; i < 256; c = ++i) {
|
||||
for (j = 0; j < 8; j++) {
|
||||
|
|
|
@ -20,8 +20,8 @@ freely, subject to the following restrictions:
|
|||
*/
|
||||
#include <windows.h>
|
||||
#include <commctrl.h>
|
||||
#include <Winnt.h>
|
||||
#include "../exdll/exdll.h"
|
||||
#include <winnt.h>
|
||||
#include "../ExDLL/exdll.h"
|
||||
|
||||
#ifndef true
|
||||
#define true TRUE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue