Codemesh Runtime v3 C++ API Reference
3.9.205
Builds
codegen
junc++ion-4.8.430
cpp
v3
include
xmog-config-cygwin.h
1
//
2
// Copyright (c) 1999-2020 by Codemesh, Inc.. ALL RIGHTS RESERVED.
3
//
4
5
6
#include <string.h>
7
#include <stdlib.h>
8
#include <stddef.h>
9
10
11
#define XMOG_OS_CODE "cygwin"
12
13
14
#if defined(__GNUC__)
15
# include "xmog-config-cygwin-gcc.h"
16
#endif
17
18
19
// the return type of the function type that is passed to thread spawn factory
20
typedef
void
* XMOG_THREAD_FUNC_RETURN;
21
// the macro declaring a variable of thread func return type
22
#define XMOG_THREAD_FUNC_RETURN_DECL(x) void * x = NULL;
23
// the macro declaring a thread func return statement
24
#define XMOG_THREAD_FUNC_RETURN_STMT(x) return x;
25
26
27
// it seems g++ does not understand __cdecl
28
#define XMOG_CALLING_CONVENTION
29
30
31
// the method we use for tolower
32
#define XMOG_TOLOWER ACE_OS::ace_tolower
33
34
35
#define XMOG_FILE_SEPARATOR '/'
36
#define XMOG_PATH_SEPARATOR ':'
37
#define LINE_SEP "\n"
38
Copyright (c) 1999-2020 by Codemesh, Inc., ALL RIGHTS RESERVED.