Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_cygwin_S_IEXEC.cc « lib « cygwin « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5f57c94d3295f92e0c5db991c860889b7def1c8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* _cygwin_S_IEXEC.cc: stat helper stuff

   Copyright 2001 Red Hat, Inc.

This file is part of Cygwin.

This software is a copyrighted work licensed under the terms of the
Cygwin license.  Please consult the file "CYGWIN_LICENSE" for
details. */

extern "C" {
#include "winsup.h"
#include <sys/stat.h>
#include <sys/unistd.h>

unsigned _cygwin_S_IEXEC = S_IEXEC;
unsigned _cygwin_S_IXUSR = S_IXUSR;
unsigned _cygwin_S_IXGRP = S_IXGRP;
unsigned _cygwin_S_IXOTH = S_IXOTH;
unsigned _cygwin_X_OK = X_OK;
};

extern int __declspec (dllimport) _check_for_executable;
struct _cygwin_bob__
{
  _cygwin_bob__ () {_check_for_executable = 1;}
} _cygwin_dummy_bob__;