1 /* Mark beginning of data space to dump as pure, for GNU Emacs. 2 Copyright (C) 1997, 2001-2023 Free Software Foundation, Inc. 3 4 This file is part of GNU Emacs. 5 6 GNU Emacs is free software: you can redistribute it and/or modify 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation, either version 3 of the License, or (at 9 your option) any later version. 10 11 GNU Emacs is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 GNU General Public License for more details. 15 16 You should have received a copy of the GNU General Public License 17 along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ 18 19 20 #include <config.h> 21 22 #ifdef WINDOWSNT 23 /* See comments in lastfile.c. */ 24 char my_begdata[] = "Beginning of Emacs initialized data"; 25 char my_begbss[1]; /* Do not initialize this variable. */ 26 static char _my_begbss[1]; 27 char * my_begbss_static = _my_begbss; 28 29 /* Add a dummy reference to ensure emacs.o is linked in. */ 30 extern int main (int, char **); 31 int (*dummy_main_reference) (int, char **) = main; 32 #endif