Skip to content

off64_t undefined on alpine #2167

Closed
Closed
@benstadin

Description

@benstadin

#if defined(__APPLE__) || defined(__EMSCRIPTEN__)

The missing macro definition results in a build failure on alpine (3.19) with the following error:

folly/system/MemoryMapping.h:102:5: error: 'off64_t' does not name a type; did you mean 'off_t'?
  102 |     off64_t pageSize = 0;
      |     ^~~~~~~
      |     off_t

Defining that macro fixes the issue. Though I do not have a generic solution as a proposal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions