Add support for compiling under MinGW + fix Windows compiling in general

This commit is contained in:
wuggy 2026-04-17 15:05:11 -07:00
commit a5cf494890
56 changed files with 243 additions and 76 deletions

View file

@ -21,12 +21,6 @@ WIN_LIBS= \
---------------------------------------------------------------------- */
#include "plstr.h"
#include <windows.h>
#include <tchar.h>
#include <unknwn.h>
#include <commdlg.h>
#include "nsIWebBrowserPrint.h"
#include "nsString.h"
#include "nsIServiceManager.h"
@ -43,7 +37,13 @@ WIN_LIBS= \
#include "nsCRT.h"
#include "prenv.h" /* for PR_GetEnv */
#include <stdlib.h>
#include <windows.h>
#include <tchar.h>
#include <unknwn.h>
#include <commdlg.h>
#include <winspool.h>
// For Localization