mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Fix building on non-Windows
This commit is contained in:
@@ -14,11 +14,9 @@
|
||||
#if defined(OS_WIN)
|
||||
#include "base/win/scoped_com_initializer.h"
|
||||
#include "base/win/shortcut.h"
|
||||
#endif
|
||||
|
||||
namespace mate {
|
||||
|
||||
|
||||
template<>
|
||||
struct Converter<base::win::ShortcutOperation> {
|
||||
static bool FromV8(v8::Isolate* isolate, v8::Handle<v8::Value> val,
|
||||
@@ -38,8 +36,8 @@ struct Converter<base::win::ShortcutOperation> {
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
} // namespace mate
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user