- compiles without PSDK again

- moved all defines that are missing without PSDK to Platform.h


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3436 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2004-01-30 22:04:10 +00:00
parent 8dbe4f1203
commit bd25e070c8
23 changed files with 24 additions and 81 deletions

View file

@ -1,4 +1,4 @@
#include <windows.h>
#include "../Platform.h"
#include <shellapi.h>
#include "util.h"
#include "state.h"
@ -27,10 +27,6 @@ NSIS_STRING g_usrvars[1];
#define SECTION_VARS_RWD "/section:" ## VARS_SECTION_NAME ## ",rwd"
#pragma comment(linker, SECTION_VARS_RWD)
#ifndef INVALID_FILE_ATTRIBUTES
#define INVALID_FILE_ATTRIBUTES ((DWORD)-1)
#endif
int NSISCALL my_PIDL2Path(char *out, LPITEMIDLIST idl)
{
int Res;