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