src/solaris/back/exec_md.c
Print this page
rev 8822 : 8024854: PPC64: Basic changes and files to build the class library on AIX
Reviewed-by: alanb, prr, sla, chegar, michaelm, mullan, art
Contributed-by: luchsh@linux.vnet.ibm.com, spoole@linux.vnet.ibm.com, thomas.stuefe@sap.com
*** 1,7 ****
/*
! * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 28,39 ****
#include <string.h>
#include <ctype.h>
#include "sys.h"
#include "util.h"
! #if defined(LINUX) || defined(_ALLBSD_SOURCE)
! /* Linux */
#define FORK() fork()
#else
/* Solaris (make sure we always get the POSIX-specified behavior) */
#define FORK() fork1()
#endif
--- 28,39 ----
#include <string.h>
#include <ctype.h>
#include "sys.h"
#include "util.h"
! #if defined(LINUX) || defined(_ALLBSD_SOURCE) || defined(AIX)
! /* Linux, BSD, AIX */
#define FORK() fork()
#else
/* Solaris (make sure we always get the POSIX-specified behavior) */
#define FORK() fork1()
#endif