Skip to content

Commit

Permalink
Merge pull request #514 from atsign-foundation/remove-private-linux-h…
Browse files Browse the repository at this point in the history
…eader

fix: remove private linux header
  • Loading branch information
XavierChanth authored Jan 14, 2025
2 parents 3ad2d92 + ef33da8 commit c73da06
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/atauth/src/atauth_fetch_home_dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@
#define PATH_SEPARATOR '\\'
#define PATH_MAX 260 // Max path length for Windows (adjustable if needed)

// Imports for Linux
#elif defined(__linux__)
#include <linux/limits.h>
#include <pwd.h>
#include <unistd.h>
#define PATH_SEPARATOR '/'

// Imports for other platforms
#else
#include <limits.h>
#include <pwd.h>
Expand Down

0 comments on commit c73da06

Please # to comment.