summaryrefslogtreecommitdiff
path: root/mailnews/mapi/mapihook/build/moz.build
blob: 420ec06e51c8da5cb3facfc0c83964d13fb585ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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'

LOCAL_INCLUDES += ['/mailnews/mapi/include']