Skip to content

Commit

Permalink
- @defs@ is unused, so don't clutter our make logs with it
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@8811 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed May 4, 2011
1 parent 81a3154 commit b7c336a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Compiler/runtime/Makefile.in
Expand Up @@ -7,7 +7,7 @@
USE_CORBA = @USE_CORBA@

RMLINCLUDE = @rmlinc@
CFLAGS = @CFLAGS@ @DEFS@ $(USE_CORBA)
CFLAGS = @CFLAGS@ $(USE_CORBA)

ifdef USE_CORBA
CORBASRC = omc_communication.cc omc_communication_impl.cpp Corba_rml.cpp
Expand Down
5 changes: 1 addition & 4 deletions Compiler/runtime/corbaimpl.cpp
Expand Up @@ -441,11 +441,8 @@ void CorbaImpl__close()
cerr << "Error shutting down." << endl;
}
remove(objref_file.str().c_str());
#ifdef HAVE_PTHREAD_YIELD
pthread_yield(); // Allowing other thread to shutdown.
#else
sched_yield(); // use as backup (in cygwin)
#endif
// sched_yield(); // use as backup (in cygwin)

#endif
#endif // NOMICO
Expand Down
3 changes: 2 additions & 1 deletion Compiler/runtime/systemimpl.c
Expand Up @@ -94,10 +94,11 @@ extern "C" {
#ifndef __APPLE_CC__
#include <malloc.h>
#else
#define HAVE_SCANDIR
#include <sys/malloc.h>
#endif

#define HAVE_SCANDIR

#ifndef _IFDIR
# ifdef S_IFDIR
# define _IFDIR S_IFDIR
Expand Down

0 comments on commit b7c336a

Please sign in to comment.