freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][freetype/freetype-demos][ftbench-gsoc-goksu] some file op


From: @goksu
Subject: [Git][freetype/freetype-demos][ftbench-gsoc-goksu] some file op
Date: Sat, 20 May 2023 12:35:25 +0000

Ahmet Göksu pushed to branch ftbench-gsoc-goksu at FreeType / FreeType Demo Programs

Commits:

  • 0682e580
    by goksu at 2023-05-20T15:35:13+03:00
    some file op
    

2 changed files:

Changes:

  • src/ftbench/ftbench.c
    ... ... @@ -40,7 +40,7 @@
    40 40
     #ifdef UNIX
    
    41 41
     #include <unistd.h>
    
    42 42
     #else
    
    43
    -#include "mlgetopt.h"
    
    43
    +#include "../mlgetopt.h"
    
    44 44
     #endif
    
    45 45
     
    
    46 46
     #ifdef _WIN32
    

  • src/ftbench/mlgetopt.h deleted
    1
    -/*
    
    2
    - *  This is a cheap replacement for getopt() because that routine is not
    
    3
    - *  available on some platforms and behaves differently on other platforms.
    
    4
    - *
    
    5
    - *  This code is hereby expressly placed in the public domain.
    
    6
    - *  mleisher@crl.nmsu.edu (Mark Leisher)
    
    7
    - *  10 October 1997
    
    8
    - */
    
    9
    -
    
    10
    -#ifndef MLGETOPT_H_
    
    11
    -#define MLGETOPT_H_
    
    12
    -
    
    13
    -#ifdef VMS
    
    14
    -#include <stdio.h>
    
    15
    -#define getopt local_getopt
    
    16
    -#define optind local_optind
    
    17
    -#define opterr local_opterr
    
    18
    -#define optarg local_optarg
    
    19
    -#endif
    
    20
    -
    
    21
    -#ifdef __cplusplus
    
    22
    -  extern "C" {
    
    23
    -#endif
    
    24
    -
    
    25
    -  extern int    opterr;
    
    26
    -  extern int    optind;
    
    27
    -  extern char*  optarg;
    
    28
    -
    
    29
    -  extern int  getopt(
    
    30
    -#ifdef __STDC__
    
    31
    -    int           argc,
    
    32
    -    char* const*  argv,
    
    33
    -    const char*   pattern
    
    34
    -#endif
    
    35
    -  );
    
    36
    -
    
    37
    -#ifdef __cplusplus
    
    38
    -  }
    
    39
    -#endif
    
    40
    -
    
    41
    -#endif /* MLGETOPT_H_ */
    
    42
    -
    
    43
    -
    
    44
    -/* End */


  • reply via email to

    [Prev in Thread] Current Thread [Next in Thread]