Skip to content
Snippets Groups Projects
Commit 102b1fc0 authored by deuce's avatar deuce
Browse files

Windows.h sucks. filewrap.h and gen_defs.h both include it.

Deal with it by preventing wincrypt.h from being loaded with windows.h
by defining WIN32_LEAN_AND_MEAN and NOCRYPT

(Do we really NEED windows.h?  It is nastiness beyond compare!)
parent a46bb25b
No related branches found
No related tags found
No related merge requests found
/* $Id$ */
#define NOCRYPT /* Stop windows.h from loading wincrypt.h */
/* Is windows.h REALLY necessary?!?! */
#define WIN32_LEAN_AND_MEAN
#include <sys/stat.h>
#ifdef _WIN32
#include <shlobj.h>
......@@ -16,11 +19,11 @@
#include "cterm.h"
#include "allfonts.h"
#include "st_crypt.h"
#include "fonts.h"
#include "syncterm.h"
#include "bbslist.h"
#include "conn.h"
#include "st_crypt.h"
#include "term.h"
#include "uifcinit.h"
#include "window.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment