Fix Linux rpc problems with new glibc
[oweals/cde.git] / cde / config / imake / ccimake.c
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
6  * These libraries and programs are free software; you can
7  * redistribute them and/or modify them under the terms of the GNU
8  * Lesser General Public License as published by the Free Software
9  * Foundation; either version 2 of the License, or (at your option)
10  * any later version.
11  *
12  * These libraries and programs are distributed in the hope that
13  * they will be useful, but WITHOUT ANY WARRANTY; without even the
14  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  * PURPOSE. See the GNU Lesser General Public License for more
16  * details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with these libraries and programs; if not, write
20  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21  * Floor, Boston, MA 02110-1301 USA
22  */
23 /* $TOG: ccimake.c /main/16 1998/02/06 11:02:20 kaleb $ */
24 /*
25
26 Copyright (c) 1993, 1994, 1998  The Open Group
27
28 All Rights Reserved.
29
30 The above copyright notice and this permission notice shall be included in
31 all copies or substantial portions of the Software.
32
33 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
34 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
35 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
36 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
37 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
38 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
39
40 Except as contained in this notice, the name of the The Open Group shall not be
41 used in advertising or otherwise to promote the sale, use or other dealings
42 in this Software without prior written authorization from The Open Group .
43
44 */
45
46 /* 
47  * Warning:  This file must be kept as simple as posible so that it can 
48  * compile without any special flags on all systems.  Do not touch it unless
49  * you *really* know what you're doing.  Make changes in imakemdep.h, not here.
50  */
51
52 #define CCIMAKE                 /* only get imake_ccflags definitions */
53 #include "imakemdep.h"          /* things to set when porting imake */
54
55 #ifndef imake_ccflags
56 #define imake_ccflags "-O"
57 #endif
58
59 #include <stdlib.h>
60 #include <unistd.h>
61
62 int main(void)
63 {
64         ssize_t ret = write(1, imake_ccflags, sizeof(imake_ccflags) - 1);
65         return EXIT_SUCCESS;
66 }
67