summaryrefslogtreecommitdiffstats
path: root/cloud_print/service
diff options
context:
space:
mode:
Diffstat (limited to 'cloud_print/service')
-rw-r--r--cloud_print/service/service.gyp1
-rw-r--r--cloud_print/service/win/cloud_print_service.cc5
2 files changed, 1 insertions, 5 deletions
diff --git a/cloud_print/service/service.gyp b/cloud_print/service/service.gyp
index 2c3df79..1dda2f0 100644
--- a/cloud_print/service/service.gyp
+++ b/cloud_print/service/service.gyp
@@ -17,6 +17,7 @@
'STRICT',
'_ATL_APARTMENT_THREADED',
'_ATL_CSTRING_EXPLICIT_CONSTRUCTORS',
+ '_ATL_NO_COM_SUPPORT',
'_ATL_NO_AUTOMATIC_NAMESPACE',
'_ATL_NO_EXCEPTIONS',
],
diff --git a/cloud_print/service/win/cloud_print_service.cc b/cloud_print/service/win/cloud_print_service.cc
index 2577d76..187a6ed 100644
--- a/cloud_print/service/win/cloud_print_service.cc
+++ b/cloud_print/service/win/cloud_print_service.cc
@@ -2,12 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Service has no COM objects. http://support.microsoft.com/kb/2480736
-#define _ATL_NO_COM_SUPPORT
-
#include <atlbase.h>
-#include <atlcom.h>
-#include <atlctl.h>
#include <security.h>
#include <iomanip>