Define WEXITSTATUS if not available (e.g. on MinGW)
* iface/dve2/dve2.cc: Here.
This commit is contained in:
parent
2c8e5297e7
commit
9ea0e00ae7
1 changed files with 8 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
// Copyright (C) 2011 Laboratoire de Recherche et Developpement de
|
// -*- coding: utf-8 -*-
|
||||||
// l'Epita (LRDE)
|
// Copyright (C) 2011, 2012 Laboratoire de Recherche et Développement
|
||||||
|
// de l'Epita (LRDE)
|
||||||
//
|
//
|
||||||
// This file is part of Spot, a model checking library.
|
// This file is part of Spot, a model checking library.
|
||||||
//
|
//
|
||||||
|
|
@ -26,6 +27,11 @@
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
// MinGW does not define this.
|
||||||
|
#ifndef WEXITSTATUS
|
||||||
|
# define WEXITSTATUS(x) ((x) & 0xff)
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "dve2.hh"
|
#include "dve2.hh"
|
||||||
#include "misc/hashfunc.hh"
|
#include "misc/hashfunc.hh"
|
||||||
#include "misc/fixpool.hh"
|
#include "misc/fixpool.hh"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue