summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/fpdfsdkdll.rc
diff options
context:
space:
mode:
authorBruce Dawson <brucedawson@google.com>2015-04-09 13:52:02 -0700
committerBruce Dawson <brucedawson@google.com>2015-04-09 13:52:02 -0700
commit24a9eb6acf48a10717f03fd8ec0ac8e3df41edfc (patch)
tree5150644e3b26fc35f1ce35631dffccaefe60ec29 /fpdfsdk/src/fpdfsdkdll.rc
parent30762ceda9db949550de6785b36dbe0d89c6d9d2 (diff)
downloadpdfium-24a9eb6acf48a10717f03fd8ec0ac8e3df41edfc.tar.xz
XFA port: Include windows.h instead of the MFC header afxres.h
VS 2015 RC ships without afxres.h, so fpdfsdkdll.rc fails to compile. afxres.h is really intended for MFC apps so depending on it is a bad idea anyway, so I changed both references to windows.h. See http://stackoverflow.com/questions/1575559 for some other perspective on this. Ported from https://codereview.chromium.org/1078513002 TBR=tsepez@chromium.org BUG=440500 Review URL: https://codereview.chromium.org/1073933002
Diffstat (limited to 'fpdfsdk/src/fpdfsdkdll.rc')
-rw-r--r--fpdfsdk/src/fpdfsdkdll.rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/src/fpdfsdkdll.rc b/fpdfsdk/src/fpdfsdkdll.rc
index f203f2e5be..fb5ddb8f7f 100644
--- a/fpdfsdk/src/fpdfsdkdll.rc
+++ b/fpdfsdk/src/fpdfsdkdll.rc
@@ -7,7 +7,7 @@
//
// Generated from the TEXTINCLUDE 2 resource.
//
-#include "afxres.h"
+#include "windows.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
@@ -80,7 +80,7 @@ END
2 TEXTINCLUDE MOVEABLE PURE
BEGIN
- "#include ""afxres.h""\r\n"
+ "#include ""windows.h""\r\n"
"\0"
END