[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2-demos] ftbench-gsoc-goksu 0682e58: some file op
From: |
Werner Lemberg |
Subject: |
[freetype2-demos] ftbench-gsoc-goksu 0682e58: some file op |
Date: |
Sat, 20 May 2023 08:35:32 -0400 (EDT) |
branch: ftbench-gsoc-goksu
commit 0682e580b2dfdc00edbb24b43968f78f0650700c
Author: goksu <25721443+goeksu@users.noreply.github.com>
Commit: goksu <25721443+goeksu@users.noreply.github.com>
some file op
---
src/ftbench/ftbench.c | 2 +-
src/ftbench/mlgetopt.h | 44 --------------------------------------------
2 files changed, 1 insertion(+), 45 deletions(-)
diff --git a/src/ftbench/ftbench.c b/src/ftbench/ftbench.c
index 2f0f2a4..4eeda35 100644
--- a/src/ftbench/ftbench.c
+++ b/src/ftbench/ftbench.c
@@ -40,7 +40,7 @@
#ifdef UNIX
#include <unistd.h>
#else
-#include "mlgetopt.h"
+#include "../mlgetopt.h"
#endif
#ifdef _WIN32
diff --git a/src/ftbench/mlgetopt.h b/src/ftbench/mlgetopt.h
deleted file mode 100644
index ce981b1..0000000
--- a/src/ftbench/mlgetopt.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * This is a cheap replacement for getopt() because that routine is not
- * available on some platforms and behaves differently on other platforms.
- *
- * This code is hereby expressly placed in the public domain.
- * mleisher@crl.nmsu.edu (Mark Leisher)
- * 10 October 1997
- */
-
-#ifndef MLGETOPT_H_
-#define MLGETOPT_H_
-
-#ifdef VMS
-#include <stdio.h>
-#define getopt local_getopt
-#define optind local_optind
-#define opterr local_opterr
-#define optarg local_optarg
-#endif
-
-#ifdef __cplusplus
- extern "C" {
-#endif
-
- extern int opterr;
- extern int optind;
- extern char* optarg;
-
- extern int getopt(
-#ifdef __STDC__
- int argc,
- char* const* argv,
- const char* pattern
-#endif
- );
-
-#ifdef __cplusplus
- }
-#endif
-
-#endif /* MLGETOPT_H_ */
-
-
-/* End */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2-demos] ftbench-gsoc-goksu 0682e58: some file op,
Werner Lemberg <=