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
|
||||
// l'Epita (LRDE)
|
||||
// -*- coding: utf-8 -*-
|
||||
// Copyright (C) 2011, 2012 Laboratoire de Recherche et Développement
|
||||
// de l'Epita (LRDE)
|
||||
//
|
||||
// This file is part of Spot, a model checking library.
|
||||
//
|
||||
|
|
@ -26,6 +27,11 @@
|
|||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
// MinGW does not define this.
|
||||
#ifndef WEXITSTATUS
|
||||
# define WEXITSTATUS(x) ((x) & 0xff)
|
||||
#endif
|
||||
|
||||
#include "dve2.hh"
|
||||
#include "misc/hashfunc.hh"
|
||||
#include "misc/fixpool.hh"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue