Skip to content

Commit

Permalink
llama : move #includes out of _GNU_SOURCE conditional (ggerganov#2817)
Browse files Browse the repository at this point in the history
  • Loading branch information
cebtenzzre authored and akawrykow committed Aug 29, 2023
1 parent 4fce8f8 commit 41deb03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions llama.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// Defines fileno on msys:
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#include <cstddef>
#include <cstdint>
#include <cstdio>
#endif

#include "llama.h"
Expand Down Expand Up @@ -62,6 +59,9 @@
#include <cinttypes>
#include <climits>
#include <cstdarg>
#include <cstddef>
#include <cstdint>
#include <cstdio>
#include <cstring>
#include <ctime>
#include <fstream>
Expand Down

0 comments on commit 41deb03

Please sign in to comment.