Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
openfpm_vcluster
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
argupta
openfpm_vcluster
Commits
9b08e714
Commit
9b08e714
authored
Feb 26, 2017
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
working with CYGWIN
parent
d1da2fc6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
configure.ac
configure.ac
+2
-1
src/VCluster/VCluster.hpp
src/VCluster/VCluster.hpp
+7
-1
No files found.
configure.ac
View file @
9b08e714
...
...
@@ -4,7 +4,7 @@
AC_PREREQ(2.59)
AC_INIT(OpenFPM_vcluster, 0.8.0, BUG-REPORT-ADDRESS)
AC_CANONICAL_
SYSTEM
AC_CANONICAL_
TARGET
AC_CONFIG_SRCDIR([src/main.cpp])
...
...
@@ -24,6 +24,7 @@ case $host_os in
*cygwin*)
# Do something specific for cygwin
CXXFLAGS+=" --std=gnu++11 "
AC_DEFINE([HAVE_CYGWIN],[],[We are on cygwin])
;;
*)
#Default Case
...
...
src/VCluster/VCluster.hpp
View file @
9b08e714
...
...
@@ -12,7 +12,10 @@
#include "VCluster_base.hpp"
#include "VCluster_meta_function.hpp"
#ifndef HAVE_CYGWIN
void
bt_sighandler
(
int
sig
,
siginfo_t
*
info
,
void
*
ctx
);
#endif
/*! \brief Implementation of VCluster class
*
...
...
@@ -860,7 +863,8 @@ static inline void openfpm_init(int *argc, char ***argv)
std
::
cout
<<
"OpenFPM is compiled with debug mode LEVEL:3. Remember to remove SE_CLASS3 when you go in production"
<<
std
::
endl
;
#endif
// install segmentation fault signal handler
// install segmentation fault signal handler (CYGWIN does not support it)
#ifndef HAVE_CYGWIN
struct
sigaction
sa
;
...
...
@@ -870,6 +874,8 @@ static inline void openfpm_init(int *argc, char ***argv)
sigaction
(
SIGSEGV
,
&
sa
,
NULL
);
#endif
if
(
*
argc
!=
0
)
program_name
=
std
::
string
(
*
argv
[
0
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment