Skip to content

[BUG] deferred_with_accumulator example using *nix sleep function, incompatible with Windows #156

@deanmsands3

Description

@deanmsands3

Prerequisites

Description

Example deferred_with_accumulator using *nix sleep function, incompatible with Windows

Steps to Reproduce

  1. (Fix the ws2_32 linker error for MinGW)
  2. Compile examples
  3. Compilation fails on deferred_with_accumulator example

Expected behavior:
Proper compilation of all examples

Actual behavior:
Compilation fails with deferred_with_accumulator example

Reproduces how often:
%100 on any system lacking the C sleep() function

Versions

  • Windows 10x64
  • libhttpserver version: git commit 3ffda7b (compiled)
  • libmicrohttpd version (please specify whether compiled or packaged)

If you have problems during build:

  • Compiler version: MSYS2/MinGW64 GCC 9.2.0
  • autotools version: automake 1.16.1, autoconf 2.69

Metadata

Metadata

Assignees

Labels

bugConfirmed bugs or reports that are very likely to be bugs.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions