1 // Copyright 2021 The Android Open Source Project
2 //
3 // This software is licensed under the terms of the GNU General Public
4 // License version 2, as published by the Free Software Foundation, and
5 // may be copied, distributed, and modified under those terms.
6 //
7 // This program is distributed in the hope that it will be useful,
8 // but WITHOUT ANY WARRANTY; without even the implied warranty of
9 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10 // GNU General Public License for more details.
11 #ifndef _AEMU_BITS_SOCKET_H_
12 #define _AEMU_BITS_SOCKET_H_
13 
14 #ifndef __linux__
15 #ifndef __QNX__
16 // Make sure these are defined and don't change anything if used.
17 enum {
18     SOCK_CLOEXEC = 0,
19 #ifndef __APPLE__
20     O_CLOEXEC = 0
21 #endif
22 };
23 #endif  // !__QNX__
24 #endif  // !__linux__
25 
26 #endif	/* Not _AEMU_BITS_SOCKET_H_ */