~steve-sk2/mingw-w64/oneiric

« back to all changes in this revision

Viewing changes to mingw-w64-tools/gendef/src/compat_string.c

  • Committer: Bazaar Package Importer
  • Author(s): Stephen Kitt
  • Date: 2010-11-18 00:04:46 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101118000446-xe24b423su55onyl
Tags: 1.0+20101003-1
* New maintainer. (Closes: #594371.)
* New upstream snapshot:
  - Includes getopt.h. (Closes: #569914.)
* Build g++ for Win64. (Closes: #600451.)
* Standards-Version 3.9.1 (new packaging).
* Include patch from
  http://mingw-w64.svn.sourceforge.net/viewvc/mingw-w64?view=revision&revision=3715
  as suggested by Rafaël Carré.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifdef CONFIG_H
2
 
#include <config.h>
3
 
#endif
4
 
 
5
 
#ifndef HAVE_STRLWER
6
 
 
7
 
#include <ctype.h>
8
 
#include "compat-string.h"
9
 
 
10
 
char *strlwr(char *s) {
11
 
        while(*s != '\x0') {
12
 
                *s = tolower(*s);
13
 
                s++;
14
 
        }
15
 
 
16
 
        return s;
17
 
}
18
 
 
19
 
#endif /* HAVE_STRLWER */