e30d78d685
2015-08-21 Jon Turney <jon.turney@dronecode.org.uk> * cygwin-cxx.h: Remove execute permissions. * fenv.cc: Ditto. * how-startup-shutdown-works.txt: Ditto. * include/arpa/nameser.h: Ditto. * include/arpa/nameser_compat.h: Ditto. * include/fenv.h: Ditto. * include/resolv.h: Ditto. * libstdcxx_wrapper.cc: Ditto. 2015-10-27 Jon Turney <jon.turney@dronecode.org.uk> * winsup.api/signal-into-win32-api.c: Remove execute permissions. Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
38 lines
1.0 KiB
C++
38 lines
1.0 KiB
C++
/* cygwin-cxx.h
|
|
|
|
Copyright 2009 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. */
|
|
|
|
#ifndef _CYGWIN_CXX_H
|
|
#define _CYGWIN_CXX_H
|
|
|
|
#ifndef __cplusplus
|
|
#error This header should not be included by C source files.
|
|
#endif
|
|
|
|
/* Files including this header must override -nostdinc++ */
|
|
#include <new>
|
|
|
|
/* This is an optional struct pointed to by per_process if it exists. */
|
|
struct per_process_cxx_malloc
|
|
{
|
|
void *(*oper_new) (std::size_t);
|
|
void *(*oper_new__) (std::size_t);
|
|
void (*oper_delete) (void *);
|
|
void (*oper_delete__) (void *);
|
|
void *(*oper_new_nt) (std::size_t, const std::nothrow_t &);
|
|
void *(*oper_new___nt) (std::size_t, const std::nothrow_t &);
|
|
void (*oper_delete_nt) (void *, const std::nothrow_t &);
|
|
void (*oper_delete___nt) (void *, const std::nothrow_t &);
|
|
};
|
|
|
|
/* Defined in cxx.cc */
|
|
extern struct per_process_cxx_malloc default_cygwin_cxx_malloc;
|
|
|
|
#endif /* _CYGWIN_CXX_H */
|