Skip to content

broken on windows #1

@Noorquacker

Description

@Noorquacker

wtf is this

main.cpp: In function ‘int SDL_main()’:
main.cpp:203:24: error: ‘_SC_NPROCESSORS_ONLN’ was not declared in this scope
  203 |  int THREADS = sysconf(_SC_NPROCESSORS_ONLN);
      |                        ^~~~~~~~~~~~~~~~~~~~
main.cpp:203:16: error: ‘sysconf’ was not declared in this scope; did you mean ‘swscanf’?
  203 |  int THREADS = sysconf(_SC_NPROCESSORS_ONLN);
      |                ^~~~~~~
      |                swscanf

I hate Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions