summaryrefslogtreecommitdiffstats
path: root/mailnews/mapi/mapihook/build/moz.build
blob: fd813cf045581c9657f806f676a21e8c8f7d55a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

SharedLibrary('MapiProxy')

OS_LIBS += [
    'rpcrt4',
]

for var in ('REGISTER_PROXY_DLL', 'UNICODE', '_UNICODE'):
    DEFINES[var] = True

# This produces a compile warning mozilla-config.h(145): warning C4005: '_WIN32_WINNT': macro redefinition
#DEFINES['_WIN32_WINNT'] = '0x400'

if not CONFIG['MOZ_INCOMPLETE_EXTERNAL_LINKAGE']:
    DEFINES['MOZILLA_INTERNAL_API'] = True

DEFFILE = SRCDIR + '/MapiProxy.def'