Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Unified Diff: third_party/yasm/patched-yasm/libyasm/file.h

Issue 6170009: Update our yasm copy to yasm 1.1.0 (Part 1: yasm side)... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/yasm/patched-yasm/libyasm/errwarn.c ('k') | third_party/yasm/patched-yasm/libyasm/file.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/yasm/patched-yasm/libyasm/file.h
===================================================================
--- third_party/yasm/patched-yasm/libyasm/file.h (revision 71129)
+++ third_party/yasm/patched-yasm/libyasm/file.h (working copy)
@@ -3,7 +3,7 @@
* \brief YASM file helpers.
*
* \rcs
- * $Id: file.h 2157 2008-10-19 07:29:15Z peter $
+ * $Id: file.h 2287 2010-02-13 08:42:27Z peter $
* \endrcs
*
* \license
@@ -179,6 +179,30 @@
# endif
#endif
+/** Recursively create tree of directories needed for pathname.
+ * \internal
+ * \param path pathname
+ * \param win handle windows paths
+ * \return Length of directory portion of pathname.
+ */
+YASM_LIB_DECL
+size_t yasm__createpath_common(const char *path, int win);
+
+/** Recursively create tree of directories needed for pathname.
+ * Unless otherwise defined, defaults to yasm__createpath_unix().
+ * \internal
+ * \param path pathname
+ * \return Length of directory portion of pathname.
+ */
+#ifndef yasm__createpath
+# if defined (_WIN32) || defined (WIN32) || defined (__MSDOS__) || \
+ defined (__DJGPP__) || defined (__OS2__)
+# define yasm__createpath(path) yasm__createpath_common(path, 1)
+# else
+# define yasm__createpath(path) yasm__createpath_common(path, 0)
+# endif
+#endif
+
/** Try to find and open an include file, searching through include paths.
* First iname is looked for relative to the directory containing "from", then
* it's looked for relative to each of the include paths.
« no previous file with comments | « third_party/yasm/patched-yasm/libyasm/errwarn.c ('k') | third_party/yasm/patched-yasm/libyasm/file.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698