blob: 4499d8cc09990809a8b5b5d389944951edb54ef6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/** @file
*
* Definition of a macro for the file wildcard pattern that matches
* all files
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef __ALL_FILES_WILDCARD_H__
#define __ALL_FILES_WILDCARD_H__
#ifdef _WIN32
/*
* On Windows, the wildcard for matching all files is "*.*", which
* even matches files with no extension.
*/
#define ALL_FILES_WILDCARD "*.*"
#else
/*
* On UN*X, the wildcard for matching all files is "*"; "*.*" only
* matches files with at least one extension.
*/
#define ALL_FILES_WILDCARD "*"
#endif
#endif /* __ALL_FILES_WILDCARD_H__ */
|