OLD | NEW |
1 /* This Source Code Form is subject to the terms of the Mozilla Public | 1 /* This Source Code Form is subject to the terms of the Mozilla Public |
2 * License, v. 2.0. If a copy of the MPL was not distributed with this | 2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
4 | 4 |
5 /* Library identity and versioning */ | 5 /* Library identity and versioning */ |
6 | 6 |
7 #include "nss.h" | 7 #include "nss.h" |
8 | 8 |
9 #if defined(DEBUG) | 9 #if defined(DEBUG) |
10 #define _DEBUG_STRING " (debug)" | 10 #define _DEBUG_STRING " (debug)" |
11 #else | 11 #else |
12 #define _DEBUG_STRING "" | 12 #define _DEBUG_STRING "" |
13 #endif | 13 #endif |
14 | 14 |
| 15 #if defined(DONT_EMBED_BUILD_METADATA) && !defined(OFFICIAL_BUILD) |
| 16 #define _DATE_AND_TIME "Sep 02 2008 08:00:00" |
| 17 #else |
| 18 #define _DATE_AND_TIME __DATE__ " " __TIME__ |
| 19 #endif |
| 20 |
15 /* | 21 /* |
16 * Version information for the 'ident' and 'what commands | 22 * Version information for the 'ident' and 'what commands |
17 * | 23 * |
18 * NOTE: the first component of the concatenated rcsid string | 24 * NOTE: the first component of the concatenated rcsid string |
19 * must not end in a '$' to prevent rcs keyword substitution. | 25 * must not end in a '$' to prevent rcs keyword substitution. |
20 */ | 26 */ |
21 const char __nss_ssl_rcsid[] = "$Header: NSS " NSS_VERSION _DEBUG_STRING | 27 const char __nss_ssl_rcsid[] = "$Header: NSS " NSS_VERSION _DEBUG_STRING |
22 " " __DATE__ " " __TIME__ " $"; | 28 " " _DATE_AND_TIME " $"; |
23 const char __nss_ssl_sccsid[] = "@(#)NSS " NSS_VERSION _DEBUG_STRING | 29 const char __nss_ssl_sccsid[] = "@(#)NSS " NSS_VERSION _DEBUG_STRING |
24 " " __DATE__ " " __TIME__; | 30 " " _DATE_AND_TIME; |
OLD | NEW |