Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/pcut/tests/timeout.c

    r9eb1ff5 r582a0b8  
    2929#include <pcut/pcut.h>
    3030
    31 #ifdef __helenos__
     31#ifdef __unix
     32// FIXME
    3233#include <thread.h>
    33 #else
    34 #ifdef __unix
    35 #include <unistd.h>
    3634#endif
    3735#if defined(__WIN64) || defined(__WIN32) || defined(_WIN32)
    3836#include <windows.h>
    39 #endif
    4037#endif
    4138
     
    4441
    4542static void my_sleep(int sec) {
    46 #ifdef __helenos__
     43#ifdef __unix
     44// FIXME
    4745        thread_sleep(sec);
    48 #else
    49 #ifdef __unix
    50         sleep(sec);
    5146#endif
    5247#if defined(__WIN64) || defined(__WIN32) || defined(_WIN32)
    5348        Sleep(1000 * sec);
    54 #endif
    5549#endif
    5650}
Note: See TracChangeset for help on using the changeset viewer.