Major POSIX overhaul

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6416 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2013-12-08 14:34:38 +00:00
parent 1e55e30ff4
commit be6c7e6a1d
35 changed files with 1718 additions and 1412 deletions

View file

@ -13,15 +13,15 @@
#include <shlobj.h>
#include <commdlg.h>
#include <cderr.h>
#include <shellapi.h>
#include "resource.h"
#include "shellapi.h"
#include <nsis/pluginapi.h> // nsis plugin
#ifdef _countof
#define COUNTOF _countof
#else
#define COUNTOF(a) (sizeof(a)/sizeof(a[0]))
#ifndef min
#include <algorithm>
#define min std::min // mingw64?
#endif
// Use for functions only called from one place to possibly reduce some code