[OpenSmalltalk/opensmalltalk-vm] 222d36: Fix aio.c for linux

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[OpenSmalltalk/opensmalltalk-vm] 222d36: Fix aio.c for linux

GitHub
 
  Branch: refs/heads/Cog
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: 222d36744061772df74962327ee3429cb3fc939f
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/222d36744061772df74962327ee3429cb3fc939f
  Author: Nicolas Cellier <[hidden email]>
  Date:   2017-03-20 (Mon, 20 Mar 2017)

  Changed paths:
    M platforms/unix/vm/aio.c

  Log Message:
  -----------
  Fix aio.c for linux

struct timespec does not have a tv_nanoseconds field http://en.cppreference.com/w/c/chrono/timespec
the addIdleUsecs must be declared before used: I've factored the declaration outside first use because modern gcc require it.


Loading...