config.mk (637B)
1 #! gmake 2 # 3 # This Source Code Form is subject to the terms of the Mozilla Public 4 # License, v. 2.0. If a copy of the MPL was not distributed with this 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7 # 8 # These macros are defined by mozilla's configure script. 9 # We define them manually here. 10 # 11 12 DEFINES += -DSTDC_HEADERS -DHAVE_STRERROR 13 14 # 15 # Most platforms have snprintf, so it's simpler to list the exceptions. 16 # 17 HAVE_SNPRINTF = 1 18 DEFINES += -DHAVE_SNPRINTF 19 20 ifeq (,$(filter-out NCR,$(OS_TARGET))) 21 DEFINES += -DHAVE_SYS_BYTEORDER_H 22 endif 23 24 # 25 # None of the platforms that we are interested in need to 26 # define HAVE_MEMORY_H. 27 #